10 #ifndef __SOT_FEATURE_POINT6D_HH__
11 #define __SOT_FEATURE_POINT6D_HH__
28 #if defined(feature_point6d_EXPORTS)
29 #define SOTFEATUREPOINT6D_EXPORT __declspec(dllexport)
31 #define SOTFEATUREPOINT6D_EXPORT __declspec(dllimport)
34 #define SOTFEATUREPOINT6D_EXPORT
55 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
74 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
velocitySIN;
92 virtual dynamicgraph::Vector &
computeError(dynamicgraph::Vector & res,
110 virtual void display(std::ostream & os)
const;
117 Eigen::Vector3d v_, omega_, errordot_t_, errordot_th_, Rreftomega_, t_, tref_;
120 Eigen::Matrix3d P_, Pinv_;
122 void inverseJacobianRodrigues();
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:76
SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
Jacobian of the error wrt the robot state: .
Definition: feature-abstract.hh:193
SignalTimeDependent< dynamicgraph::Vector, int > errorSOUT
This signal returns the error between the desired value and the current value : .
Definition: feature-abstract.hh:185
SignalPtr< Flags, int > selectionSIN
This vector specifies which dimension are used to perform the computation. For instance let us assume...
Definition: feature-abstract.hh:173
Class that defines point-6d control feature.
Definition: feature-point6d.hh:52
virtual dynamicgraph::Vector & computeError(dynamicgraph::Vector &res, int time)
Compute the error between the desired feature and the current value of the feature measured or deduce...
virtual unsigned int & getDimension(unsigned int &dim, int time)
Verbose method.
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > velocitySIN
Definition: feature-point6d.hh:74
FeaturePoint6d(const std::string &name)
virtual void display(std::ostream &os) const
static Flags selectRotation(void)
Definition: feature-point6d.hh:108
DECLARE_REFERENCE_FUNCTIONS(FeaturePoint6d)
dynamicgraph::SignalPtr< dynamicgraph::Matrix, int > articularJacobianSIN
Definition: feature-point6d.hh:75
static Flags selectTranslation(void)
Definition: feature-point6d.hh:107
std::string computationFrame() const
Get computation frame.
virtual const std::string & getClassName(void) const
Returns the name class.
Definition: feature-point6d.hh:55
static Flags selectZ(void)
Definition: feature-point6d.hh:102
static Flags selectRY(void)
Definition: feature-point6d.hh:104
static Flags selectRX(void)
Definition: feature-point6d.hh:103
void computationFrame(const std::string &inFrame)
Set computation frame.
void servoCurrentPosition(void)
ComputationFrameType
Definition: feature-point6d.hh:59
dynamicgraph::SignalPtr< MatrixHomogeneous, int > positionSIN
Definition: feature-point6d.hh:73
virtual dynamicgraph::Vector & computeErrordot(dynamicgraph::Vector &res, int time)
static const ComputationFrameType COMPUTATION_FRAME_DEFAULT
Definition: feature-point6d.hh:60
virtual dynamicgraph::Matrix & computeJacobian(dynamicgraph::Matrix &res, int time)
Compute the Jacobian of the error according the robot state.
virtual ~FeaturePoint6d(void)
Definition: feature-point6d.hh:88
static Flags selectY(void)
Definition: feature-point6d.hh:101
static Flags selectX(void)
Definition: feature-point6d.hh:100
static const std::string CLASS_NAME
Definition: feature-point6d.hh:54
static Flags selectRZ(void)
Definition: feature-point6d.hh:105
Feature that controls the relative (or absolute) pose between two frames A (or world) and B.
Definition: feature-pose.hh:62
Definition: feature-abstract.hh:229
#define SOTFEATUREPOINT6D_EXPORT
Definition: feature-point6d.hh:34
Eigen::AngleAxis< double > SOT_CORE_EXPORT VectorUTheta
Definition: matrix-geometry.hh:77
Eigen::Matrix< double, 3, 3 > SOT_CORE_EXPORT MatrixRotation
Definition: matrix-geometry.hh:76
Definition: abstract-sot-external-interface.hh:17