HEBI C++ API  1.0.0-rc1
hebi::Info::Settings::Actuator::EffortGains Class Referencefinal

Controller gains for the effort PID loop. More...

#include <info.hpp>

Public Member Functions

const FloatFieldeffortKp () const
 Proportional PID gain for effort. More...
 
const FloatFieldeffortKi () const
 Integral PID gain for effort. More...
 
const FloatFieldeffortKd () const
 Derivative PID gain for effort. More...
 
const FloatFieldeffortFeedForward () const
 Feed forward term for effort (this term is multiplied by the target and added to the output). More...
 
const FloatFieldeffortDeadZone () 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 FloatFieldeffortIClamp () 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 FloatFieldeffortPunch () const
 Constant offset to the effort PID output outside of the deadzone; it is added when the error is positive and subtracted when it is negative. More...
 
const FloatFieldeffortMinTarget () const
 Minimum allowed value for input to the PID controller. More...
 
const FloatFieldeffortMaxTarget () const
 Maximum allowed value for input to the PID controller. More...
 
const FloatFieldeffortTargetLowpass () 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 FloatFieldeffortMinOutput () const
 Output from the PID controller is limited to a minimum of this value. More...
 
const FloatFieldeffortMaxOutput () const
 Output from the PID controller is limited to a maximum of this value. More...
 
const FloatFieldeffortOutputLowpass () 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 BoolFieldeffortDOnError () 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...
 

Detailed Description

Controller gains for the effort PID loop.

Member Function Documentation

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortKp ( ) const
inline

Proportional PID gain for effort.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortKi ( ) const
inline

Integral PID gain for effort.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortKd ( ) const
inline

Derivative PID gain for effort.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortFeedForward ( ) const
inline

Feed forward term for effort (this term is multiplied by the target and added to the output).

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortDeadZone ( ) const
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).

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortIClamp ( ) const
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.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortPunch ( ) const
inline

Constant offset to the effort PID output outside of the deadzone; it is added when the error is positive and subtracted when it is negative.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortMinTarget ( ) const
inline

Minimum allowed value for input to the PID controller.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortMaxTarget ( ) const
inline

Maximum allowed value for input to the PID controller.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortTargetLowpass ( ) const
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).

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortMinOutput ( ) const
inline

Output from the PID controller is limited to a minimum of this value.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortMaxOutput ( ) const
inline

Output from the PID controller is limited to a maximum of this value.

const FloatField& hebi::Info::Settings::Actuator::EffortGains::effortOutputLowpass ( ) const
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).

const BoolField& hebi::Info::Settings::Actuator::EffortGains::effortDOnError ( ) const
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.


The documentation for this class was generated from the following file: