Libbarrett  1.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
barrett::systems::PIDController< InputType, OutputType, MathTraits > Class Template Reference
Inheritance diagram for barrett::systems::PIDController< InputType, OutputType, MathTraits >:
barrett::systems::Controller< InputType, OutputType > barrett::systems::System barrett::systems::Conversion< OutputType >

List of all members.

Public Types

typedef MathTraits::unitless_type unitless_type

Public Member Functions

 PIDController (const std::string &sysName="PIDController")
 PIDController (const libconfig::Setting &setting, const std::string &sysName="PIDController")
void setFromConfig (const libconfig::Setting &setting)
void setKp (const unitless_type &proportionalGains)
void setKi (const unitless_type &integralGains)
void setKd (const unitless_type &derivitiveGains)
void setIntegratorState (const unitless_type &integratorState)
void setIntegratorLimit (const unitless_type &intSaturations)
void setControlSignalLimit (const unitless_type &csSaturations)
void resetIntegrator ()
unitless_type & getKp ()
const unitless_type & getKp () const
unitless_type & getKi ()
const unitless_type & getKi () const
unitless_type & getKd ()
const unitless_type & getKd () const
const unitless_type & getIntegratorState () const
unitless_type & getIntegratorLimit ()
const unitless_type & getIntegratorLimit () const
OutputType & getControlSignalLimit ()
const OutputType & getControlSignalLimit () const

Protected Member Functions

void setSamplePeriod (double timeStep)
virtual void operate ()
virtual void onExecutionManagerChanged ()
void getSamplePeriodFromEM ()

Protected Attributes

double T_s
InputType error
InputType error_1
unitless_type intError
unitless_type intErrorLimit
unitless_type kp
unitless_type ki
unitless_type kd
OutputType controlSignal
OutputType controlSignalLimit

template<typename InputType, typename OutputType = typename InputType::actuator_type, typename MathTraits = math::Traits<InputType>>
class barrett::systems::PIDController< InputType, OutputType, MathTraits >


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines