#include <sot/core/feature-posture.hh>
Public Types | |
| typedef dynamicgraph::SignalPtr < ml::Vector, int > | signalIn_t |
| typedef dynamicgraph::SignalTimeDependent < ml::Vector, int > | signalOut_t |
| typedef dynamicgraph::SignalPtr < ml::Vector, int > | signalIn_t |
| typedef dynamicgraph::SignalTimeDependent < ml::Vector, int > | signalOut_t |
Public Member Functions | |
| FeaturePosture (const std::string &name) | |
| virtual | ~FeaturePosture () |
| virtual const std::string & | getClassName () const |
| Returns the name class. | |
| virtual unsigned int & | getDimension (unsigned int &res, int) |
| Verbose method. | |
| void | setPosture (const ml::Vector &posture) |
| void | selectDof (unsigned dofId, bool control) |
| FeaturePosture (const std::string &name) | |
| virtual | ~FeaturePosture () |
| virtual unsigned int & | getDimension (unsigned int &res, int) |
| Verbose method. | |
| void | setPosture (const ml::Vector &posture) |
| void | selectDof (unsigned dofId, bool control) |
Public Attributes | |
| DECLARE_NO_REFERENCE | |
Static Public Attributes | |
| static const std::string | CLASS_NAME |
| Store the name of the class. | |
Protected Member Functions | |
| virtual ml::Vector & | computeError (ml::Vector &res, int) |
| Compute the error between the desired feature and the current value of the feature measured or deduced from the robot state. | |
| virtual ml::Matrix & | computeJacobian (ml::Matrix &res, int) |
| Compute the Jacobian of the error according the robot state. | |
| virtual ml::Vector & | computeActivation (ml::Vector &res, int) |
| virtual ml::Vector & | computeError (ml::Vector &res, int) |
| Compute the error between the desired feature and the current value of the feature measured or deduced from the robot state. | |
| virtual ml::Matrix & | computeJacobian (ml::Matrix &res, int) |
| Compute the Jacobian of the error according the robot state. | |
| virtual ml::Vector & | computeActivation (ml::Vector &res, int) |
Protected Attributes | |
| signalIn_t | state_ |
| signalOut_t | error_ |
| ml::Vector | posture_ |
| ml::Matrix | jacobian_ |
| signalIn_t | posture_ |
Friends | |
| class | SelectDof |
| typedef dynamicgraph::SignalTimeDependent<ml::Vector, int> dynamicgraph::sot::FeaturePosture::signalOut_t |
| typedef dynamicgraph::SignalTimeDependent<ml::Vector, int> dynamicgraph::sot::FeaturePosture::signalOut_t |
| dynamicgraph::sot::FeaturePosture::FeaturePosture | ( | const std::string & | name | ) | [explicit] |
| virtual dynamicgraph::sot::FeaturePosture::~FeaturePosture | ( | ) | [virtual] |
| dynamicgraph::sot::FeaturePosture::FeaturePosture | ( | const std::string & | name | ) | [explicit] |
| virtual dynamicgraph::sot::FeaturePosture::~FeaturePosture | ( | ) | [virtual] |
| virtual ml::Vector& dynamicgraph::sot::FeaturePosture::computeActivation | ( | ml::Vector & | res, |
| int | |||
| ) | [protected, virtual] |
| virtual ml::Vector& dynamicgraph::sot::FeaturePosture::computeActivation | ( | ml::Vector & | res, |
| int | |||
| ) | [protected, virtual] |
| virtual ml::Vector& dynamicgraph::sot::FeaturePosture::computeError | ( | ml::Vector & | res, |
| int | time | ||
| ) | [protected, virtual] |
Compute the error between the desired feature and the current value of the feature measured or deduced from the robot state.
Implements dynamicgraph::sot::FeatureAbstract.
| virtual ml::Vector& dynamicgraph::sot::FeaturePosture::computeError | ( | ml::Vector & | res, |
| int | time | ||
| ) | [protected, virtual] |
Compute the error between the desired feature and the current value of the feature measured or deduced from the robot state.
Implements dynamicgraph::sot::FeatureAbstract.
| virtual ml::Matrix& dynamicgraph::sot::FeaturePosture::computeJacobian | ( | ml::Matrix & | res, |
| int | time | ||
| ) | [protected, virtual] |
Compute the Jacobian of the error according the robot state.
Implements dynamicgraph::sot::FeatureAbstract.
| virtual ml::Matrix& dynamicgraph::sot::FeaturePosture::computeJacobian | ( | ml::Matrix & | res, |
| int | time | ||
| ) | [protected, virtual] |
Compute the Jacobian of the error according the robot state.
Implements dynamicgraph::sot::FeatureAbstract.
| virtual const std::string& dynamicgraph::sot::FeaturePosture::getClassName | ( | void | ) | const [virtual] |
Returns the name class.
Reimplemented from dynamicgraph::sot::FeatureAbstract.
| virtual unsigned int& dynamicgraph::sot::FeaturePosture::getDimension | ( | unsigned int & | res, |
| int | time | ||
| ) | [virtual] |
Verbose method.
Implements dynamicgraph::sot::FeatureAbstract.
| virtual unsigned int& dynamicgraph::sot::FeaturePosture::getDimension | ( | unsigned int & | res, |
| int | time | ||
| ) | [virtual] |
Verbose method.
Implements dynamicgraph::sot::FeatureAbstract.
| void dynamicgraph::sot::FeaturePosture::selectDof | ( | unsigned | dofId, |
| bool | control | ||
| ) |
| void dynamicgraph::sot::FeaturePosture::selectDof | ( | unsigned | dofId, |
| bool | control | ||
| ) |
| void dynamicgraph::sot::FeaturePosture::setPosture | ( | const ml::Vector & | posture | ) |
| void dynamicgraph::sot::FeaturePosture::setPosture | ( | const ml::Vector & | posture | ) |
SelectDof [friend] |
const std::string dynamicgraph::sot::FeaturePosture::CLASS_NAME [static] |
Store the name of the class.
Reimplemented from dynamicgraph::sot::FeatureAbstract.
signalOut_t dynamicgraph::sot::FeaturePosture::error_ [protected] |
signalIn_t dynamicgraph::sot::FeaturePosture::state_ [protected] |