SpeedControl Class Reference
#include <speed.h>
List of all members.
Detailed Description
Virtual base speed controller class
Definition at line 36 of file speed.h.
Constructor & Destructor Documentation
SpeedControl::SpeedControl |
( |
|
) |
[inline] |
Member Function Documentation
virtual void SpeedControl::adjust |
( |
float |
speed, |
|
|
float |
error, |
|
|
float * |
brake_req, |
|
|
float * |
throttle_req | |
|
) |
| | [pure virtual] |
Adjust speed to match goal.
- Parameters:
-
| speed | absolute value of current velocity in m/sec |
| error | immediate goal minus speed |
| brake_req | -> previous brake request (input), updated brake request (output). |
| throttle_req | -> previous throttle request (input), updated throttle request (output). |
Implemented in LearnedSpeedControl, SpeedControlMatrix, and SpeedControlPID.
virtual void SpeedControl::reset |
( |
void |
|
) |
[pure virtual] |
virtual void SpeedControl::set_brake_position |
( |
float |
position |
) |
[inline, virtual] |
virtual void SpeedControl::set_throttle_position |
( |
float |
position |
) |
[inline, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: