sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::ControlPD Class Reference

#include <sot/core/control-pd.hh>

Inheritance diagram for dynamicgraph::sot::ControlPD:

Public Member Functions

 ControlPD (const std::string &name)
 
void init (const double &step)
 
virtual void display (std::ostream &os) const
 
virtual const std::string & getClassName (void) const
 

Public Attributes

SignalPtr< dynamicgraph::Vector, int > KpSIN
 
SignalPtr< dynamicgraph::Vector, int > KdSIN
 
SignalPtr< dynamicgraph::Vector, int > positionSIN
 
SignalPtr< dynamicgraph::Vector, int > desiredpositionSIN
 
SignalPtr< dynamicgraph::Vector, int > velocitySIN
 
SignalPtr< dynamicgraph::Vector, int > desiredvelocitySIN
 
SignalTimeDependent< dynamicgraph::Vector, int > controlSOUT
 
SignalTimeDependent< dynamicgraph::Vector, int > positionErrorSOUT
 
SignalTimeDependent< dynamicgraph::Vector, int > velocityErrorSOUT
 

Static Public Attributes

static const double TIME_STEP_DEFAULT
 
static const std::string CLASS_NAME
 

Protected Member Functions

dynamicgraph::Vector & computeControl (dynamicgraph::Vector &tau, int t)
 
dynamicgraph::Vector & getPositionError (dynamicgraph::Vector &position_error, int t)
 
dynamicgraph::Vector & getVelocityError (dynamicgraph::Vector &velocity_error, int t)
 

Protected Attributes

double TimeStep
 
dynamicgraph::Vector position_error_
 
dynamicgraph::Vector velocity_error_
 

Constructor & Destructor Documentation

◆ ControlPD()

dynamicgraph::sot::ControlPD::ControlPD ( const std::string &  name)

Member Function Documentation

◆ computeControl()

dynamicgraph::Vector& dynamicgraph::sot::ControlPD::computeControl ( dynamicgraph::Vector &  tau,
int  t 
)
protected

◆ display()

virtual void dynamicgraph::sot::ControlPD::display ( std::ostream &  os) const
virtual

◆ getClassName()

virtual const std::string& dynamicgraph::sot::ControlPD::getClassName ( void  ) const
inlinevirtual

◆ getPositionError()

dynamicgraph::Vector& dynamicgraph::sot::ControlPD::getPositionError ( dynamicgraph::Vector &  position_error,
int  t 
)
protected

◆ getVelocityError()

dynamicgraph::Vector& dynamicgraph::sot::ControlPD::getVelocityError ( dynamicgraph::Vector &  velocity_error,
int  t 
)
protected

◆ init()

void dynamicgraph::sot::ControlPD::init ( const double &  step)

Member Data Documentation

◆ CLASS_NAME

const std::string dynamicgraph::sot::ControlPD::CLASS_NAME
static

◆ controlSOUT

SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::controlSOUT

◆ desiredpositionSIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::desiredpositionSIN

◆ desiredvelocitySIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::desiredvelocitySIN

◆ KdSIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::KdSIN

◆ KpSIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::KpSIN

◆ position_error_

dynamicgraph::Vector dynamicgraph::sot::ControlPD::position_error_
protected

◆ positionErrorSOUT

SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::positionErrorSOUT

◆ positionSIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::positionSIN

◆ TIME_STEP_DEFAULT

const double dynamicgraph::sot::ControlPD::TIME_STEP_DEFAULT
static

◆ TimeStep

double dynamicgraph::sot::ControlPD::TimeStep
protected

◆ velocity_error_

dynamicgraph::Vector dynamicgraph::sot::ControlPD::velocity_error_
protected

◆ velocityErrorSOUT

SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::velocityErrorSOUT

◆ velocitySIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::velocitySIN

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