|
Brick
|
Public Member Functions | |
| void | reset () override |
| Resets the internal state of the control system. | |
| LinearMotorFF (const units::Voltage &kS, const units::LinearVelocityFeedforward &kV, const units::LinearAccelerationFeedforward &kA) | |
| Linear Motor FeedForward object contructor. | |
| units::Voltage | calculate (const FFMotorState &reference) override |
| updates the linear motor feedforward output | |
| Public Member Functions inherited from FeedForward< FFMotorState, units::Voltage > | |
| units::Voltage | get_output () |
| Gets the last saved output value. | |
| FFMotorState | get_reference () |
| Gets the currently stored reference state. | |
Public Attributes | |
| units::Voltage | kS_ |
| units::LinearVelocityFeedforward | kV_ |
| units::LinearAccelerationFeedforward | kA_ |
| Public Attributes inherited from FeedForward< FFMotorState, units::Voltage > | |
| units::Voltage | output_min_ |
| units::Voltage | output_max_ |
Additional Inherited Members | |
| Protected Attributes inherited from FeedForward< FFMotorState, units::Voltage > | |
| FFMotorState | reference_ |
| units::Voltage | output_ |
| LinearMotorFF::LinearMotorFF | ( | const units::Voltage & | kS, |
| const units::LinearVelocityFeedforward & | kV, | ||
| const units::LinearAccelerationFeedforward & | kA ) |
Linear Motor FeedForward object contructor.
| kS | the voltage needed to overcome the motors static friction |
| kV | the volatage needed for the motor to cruise at a constant velocity |
| kA | the voltage needed to induce a given acceleration to the motor |
|
overridevirtual |
updates the linear motor feedforward output
| reference | the reference state for the motor |
Implements FeedForward< FFMotorState, units::Voltage >.
|
overridevirtual |
Resets the internal state of the control system.
Implements FeedForward< FFMotorState, units::Voltage >.