SpeedControlMatrix Class Reference
#include <speed.h>
List of all members.
Detailed Description
Acceleration matrix speed controller class
Definition at line 81 of file speed.h.
Constructor & Destructor Documentation
SpeedControlMatrix::SpeedControlMatrix |
( |
|
) |
|
Acceleration matrix speed control constructor.
Definition at line 106 of file speed.cc.
SpeedControlMatrix::~SpeedControlMatrix |
( |
|
) |
[virtual] |
Member Function Documentation
void SpeedControlMatrix::adjust |
( |
float |
speed, |
|
|
float |
error, |
|
|
float * |
brake_req, |
|
|
float * |
throttle_req | |
|
) |
| | [virtual] |
Adjust speed to match goal.
Generate brake and throttle changes from velocity PID controller via an acceleration matrix.
- 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). |
Implements SpeedControl.
Definition at line 135 of file speed.cc.
void SpeedControlMatrix::reset |
( |
void |
|
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: