|
HEBI C++ API
1.0.0-rc1
|
Controller gains for the velocity PID loop. More...
#include <info.hpp>
Public Member Functions | |
| const FloatField & | velocityKp () const |
| Proportional PID gain for velocity. More... | |
| const FloatField & | velocityKi () const |
| Integral PID gain for velocity. More... | |
| const FloatField & | velocityKd () const |
| Derivative PID gain for velocity. More... | |
| const FloatField & | velocityFeedForward () const |
| Feed forward term for velocity (this term is multiplied by the target and added to the output). More... | |
| const FloatField & | velocityDeadZone () const |
| Error values within +/- this value from zero are treated as zero (in terms of computed proportional output, input to numerical derivative, and accumulated integral error). More... | |
| const FloatField & | velocityIClamp () const |
| Maximum allowed value for the output of the integral component of the PID loop; the integrated error is not allowed to exceed value that will generate this number. More... | |
| const FloatField & | velocityPunch () const |
| Constant offset to the velocity PID output outside of the deadzone; it is added when the error is positive and subtracted when it is negative. More... | |
| const FloatField & | velocityMinTarget () const |
| Minimum allowed value for input to the PID controller. More... | |
| const FloatField & | velocityMaxTarget () const |
| Maximum allowed value for input to the PID controller. More... | |
| const FloatField & | velocityTargetLowpass () const |
| A simple lowpass filter applied to the target set point; needs to be between 0 and 1. At each timestep: x_t = x_t * a + x_{t-1} * (1 - a). More... | |
| const FloatField & | velocityMinOutput () const |
| Output from the PID controller is limited to a minimum of this value. More... | |
| const FloatField & | velocityMaxOutput () const |
| Output from the PID controller is limited to a maximum of this value. More... | |
| const FloatField & | velocityOutputLowpass () const |
| A simple lowpass filter applied to the controller output; needs to be between 0 and 1. At each timestep: x_t = x_t * a + x_{t-1} * (1 - a). More... | |
| const BoolField & | velocityDOnError () const |
Controls whether the Kd term uses the "derivative of error" or "derivative of measurement." When the setpoints have step inputs or are noisy, setting this to false can eliminate corresponding spikes or noise in the output. More... | |
Controller gains for the velocity PID loop.
|
inline |
Proportional PID gain for velocity.
|
inline |
Integral PID gain for velocity.
|
inline |
Derivative PID gain for velocity.
|
inline |
Feed forward term for velocity (this term is multiplied by the target and added to the output).
|
inline |
Error values within +/- this value from zero are treated as zero (in terms of computed proportional output, input to numerical derivative, and accumulated integral error).
|
inline |
Maximum allowed value for the output of the integral component of the PID loop; the integrated error is not allowed to exceed value that will generate this number.
|
inline |
Constant offset to the velocity PID output outside of the deadzone; it is added when the error is positive and subtracted when it is negative.
|
inline |
Minimum allowed value for input to the PID controller.
|
inline |
Maximum allowed value for input to the PID controller.
|
inline |
A simple lowpass filter applied to the target set point; needs to be between 0 and 1. At each timestep: x_t = x_t * a + x_{t-1} * (1 - a).
|
inline |
Output from the PID controller is limited to a minimum of this value.
|
inline |
Output from the PID controller is limited to a maximum of this value.
|
inline |
A simple lowpass filter applied to the controller output; needs to be between 0 and 1. At each timestep: x_t = x_t * a + x_{t-1} * (1 - a).
|
inline |
Controls whether the Kd term uses the "derivative of error" or "derivative of measurement." When the setpoints have step inputs or are noisy, setting this to false can eliminate corresponding spikes or noise in the output.