bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
wheel_odometry::Driver Class Reference

Public Types

enum class  State {
  FOLLOW , TURN_AWAY , DETOUR , CROSS ,
  ALIGN
}

Public Member Functions

 Driver (real_t ir_ahead)
Command command (const InfraredSensor &ir, real_t sonar, real_t driven, real_t heading, real_t dt)
State state () const noexcept
bool has_given_up () const
bool is_lost () const
uint_t n_detours () const noexcept

Member Enumeration Documentation

◆ State

enum class wheel_odometry::Driver::State
strong
Enumerator
FOLLOW 
TURN_AWAY 
DETOUR 
CROSS 
ALIGN 

Constructor & Destructor Documentation

◆ Driver()

wheel_odometry::Driver::Driver ( real_t ir_ahead)
inlineexplicit

Member Function Documentation

◆ command()

Command wheel_odometry::Driver::command ( const InfraredSensor & ir,
real_t sonar,
real_t driven,
real_t heading,
real_t dt )
inline

◆ has_given_up()

bool wheel_odometry::Driver::has_given_up ( ) const
inline

◆ is_lost()

bool wheel_odometry::Driver::is_lost ( ) const
inline

◆ n_detours()

uint_t wheel_odometry::Driver::n_detours ( ) const
inlinenoexcept

◆ state()

State wheel_odometry::Driver::state ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: