10 #ifndef __SOT_FEATURE_GENERIC_HH__ 11 #define __SOT_FEATURE_GENERIC_HH__ 26 #if defined(feature_generic_EXPORTS) 27 #define SOTFEATUREGENERIC_EXPORT __declspec(dllexport) 29 #define SOTFEATUREGENERIC_EXPORT __declspec(dllimport) 32 #define SOTFEATUREGENERIC_EXPORT 64 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
78 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
errorSIN;
81 dynamicgraph::SignalPtr<dynamicgraph::Matrix, int>
jacobianSIN;
104 virtual unsigned int &getDimension(
unsigned int &dim,
int time);
112 virtual dynamicgraph::Vector &computeError(dynamicgraph::Vector &res,
116 virtual dynamicgraph::Matrix &computeJacobian(dynamicgraph::Matrix &res,
122 virtual void display(std::ostream &os)
const;
134 #endif // #ifndef __SOT_FEATURE_GENERIC_HH__ #define SOTFEATUREGENERIC_EXPORT
Definition: feature-generic.hh:32
Definition: feature-abstract.hh:227
Eigen::VectorXd::Index Index
Definition: robot-utils.hh:39
virtual const std::string & getClassName(void) const
Definition: feature-generic.hh:64
dynamicgraph::SignalPtr< dynamicgraph::Matrix, int > jacobianSIN
Input for the Jacobian.
Definition: feature-generic.hh:81
SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
Jacobian of the error wrt the robot state: .
Definition: feature-abstract.hh:192
dynamicgraph::Vector::Index dimensionDefault
Definition: feature-generic.hh:67
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:75
#define DECLARE_REFERENCE_FUNCTIONS(FeatureSpecialized)
Definition: feature-abstract.hh:249
virtual ~FeatureGeneric(void)
Default destructor.
Definition: feature-generic.hh:101
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > errorSIN
Input for the error.
Definition: feature-generic.hh:78
SignalTimeDependent< dynamicgraph::Vector, int > errorSOUT
This signal returns the error between the desired value and the current value : . ...
Definition: feature-abstract.hh:184
static const std::string CLASS_NAME
Definition: feature-generic.hh:62
Class that defines a generic implementation of the abstract interface for features.
Definition: feature-generic.hh:56
Definition: abstract-sot-external-interface.hh:17