ocra-recipes
Doxygen documentation for the ocra-recipes repository
|
Feature interface, used by tasks to compute errors and jacobians. More...
#include <Feature.h>
Public Member Functions | |
virtual | ~Feature ()=0 |
virtual int | getDimension () const =0 |
virtual const Eigen::MatrixXd & | getSpaceTransform () const =0 |
virtual const Eigen::VectorXd & | computeEffort (const Feature &featureDes) const =0 |
virtual const Eigen::VectorXd & | computeAcceleration (const Feature &featureDes) const =0 |
virtual const Eigen::VectorXd & | computeError (const Feature &featureDes) const =0 |
virtual const Eigen::VectorXd & | computeErrorDot (const Feature &featureDes) const =0 |
virtual const Eigen::MatrixXd & | computeJacobian (const Feature &featureDes) const =0 |
virtual const Eigen::MatrixXd & | computeProjectedMass (const Feature &featureDes) const =0 |
virtual const Eigen::MatrixXd & | computeProjectedMassInverse (const Feature &featureDes) const =0 |
virtual const Eigen::VectorXd & | computeEffort () const =0 |
virtual const Eigen::VectorXd & | computeAcceleration () const =0 |
virtual const Eigen::VectorXd & | computeError () const =0 |
virtual const Eigen::VectorXd & | computeErrorDot () const =0 |
virtual const Eigen::MatrixXd & | computeJacobian () const =0 |
virtual const Eigen::MatrixXd & | computeProjectedMass () const =0 |
virtual const Eigen::MatrixXd & | computeProjectedMassInverse () const =0 |
virtual TaskState | getState () const =0 |
virtual void | setState (const TaskState &newState)=0 |
Public Member Functions inherited from ocra::NamedInstance | |
NamedInstance (const std::string &name) | |
const std::string & | getName () const |
virtual | ~NamedInstance () |
Protected Member Functions | |
Feature (const std::string &name) | |
Feature interface, used by tasks to compute errors and jacobians.
A feature is associated with a control frame, and computes errors and jacobians related to the frame, or to the 'difference' between the frame and a frame associated to another feature, denoted 'desired feature'. An task can be defined as the error between a feature and a desired feature, and features are therefore key objects to build instances of the Task class.
See the children classes to know the different tasks that can be built.
Concurrent call of computeXXX() and computeXXX(FeatureDes) are not thread-safe by default (most implementations use the same cache).
|
protected |
Definition at line 12 of file Feature.cpp.
|
pure virtual |
Definition at line 17 of file Feature.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |