|
Brick
|
#include <feedforward.h>
pure virtual class for generic feedforward control systems.
| T | the data type for states |
| U | the data type for output |
Public Member Functions | |
| virtual void | reset ()=0 |
| Resets the internal state of the control system. | |
| virtual U | calculate (const T &reference)=0 |
| Updates the control loop output. | |
| U | get_output () |
| Gets the last saved output value. | |
| T | get_reference () |
| Gets the currently stored reference state. | |
Public Attributes | |
| U | output_min_ |
| U | output_max_ |
Protected Attributes | |
| T | reference_ |
| U | output_ |
|
pure virtual |
Updates the control loop output.
| reference | the current reference state for the system |
Implemented in LinearMotorFF, and LinearPlantInversionFeedforward< STATES, INPUTS >.
|
pure virtual |
Resets the internal state of the control system.
Implemented in LinearMotorFF, and LinearPlantInversionFeedforward< STATES, INPUTS >.