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

Public Types

enum class  WhenLost { SEARCH , WAIT }

Public Member Functions

 LineFollower (real_t half_view_width, real_t cruise_speed, WhenLost when_lost, real_t give_up_after)
Command command (const LineReading &line, real_t dt)
bool has_given_up () const
real_t give_up_after () const

Member Enumeration Documentation

◆ WhenLost

Enumerator
SEARCH 
WAIT 

Constructor & Destructor Documentation

◆ LineFollower()

pi_camera_line_following::LineFollower::LineFollower ( real_t half_view_width,
real_t cruise_speed,
WhenLost when_lost,
real_t give_up_after )
inline

Member Function Documentation

◆ command()

Command pi_camera_line_following::LineFollower::command ( const LineReading & line,
real_t dt )
inline

◆ give_up_after()

real_t pi_camera_line_following::LineFollower::give_up_after ( ) const
inline

◆ has_given_up()

bool pi_camera_line_following::LineFollower::has_given_up ( ) const
inline

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