9 #ifndef __SOT_FEATURE_POSE_HH__ 10 #define __SOT_FEATURE_POSE_HH__ 17 #include <sot/core/config.hh> 61 template <Representation_t representation = R3xSO3Representation>
65 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
71 dynamicgraph::SignalPtr<MatrixHomogeneous, int> oMja;
74 dynamicgraph::SignalPtr<MatrixHomogeneous, int>
jaMfa;
76 dynamicgraph::SignalPtr<MatrixHomogeneous, int>
oMjb;
78 dynamicgraph::SignalPtr<MatrixHomogeneous, int>
jbMfb;
80 dynamicgraph::SignalPtr<Matrix, int>
jaJja;
82 dynamicgraph::SignalPtr<Matrix, int>
jbJjb;
85 dynamicgraph::SignalPtr<MatrixHomogeneous, int>
faMfbDes;
94 SignalTimeDependent<MatrixHomogeneous, int> faMfb;
99 SignalTimeDependent<Vector7, int>
q_faMfb;
119 virtual unsigned int &getDimension(
unsigned int &dim,
int time);
122 virtual dynamicgraph::Vector &computeError(dynamicgraph::Vector &res,
130 virtual dynamicgraph::Vector &computeErrorDot(dynamicgraph::Vector &res,
138 virtual dynamicgraph::Matrix &computeJacobian(dynamicgraph::Matrix &res,
141 virtual void display(std::ostream &os)
const;
144 void servoCurrentPosition(
const int &time);
154 template <
typename T>
157 const Vector &faNufafbDes);
164 #if __cplusplus >= 201103L 175 #endif // #ifndef __SOT_FEATURE_POSE_HH__ dynamicgraph::SignalPtr< MatrixHomogeneous, int > jaMfa
Input pose of Frame A wrt to Joint A.
Definition: feature-pose.hh:74
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
Definition: matrix-geometry.hh:75
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
#define DECLARE_NO_REFERENCE
Definition: feature-abstract.hh:275
virtual const std::string & getClassName(void) const
Returns the name class.
Definition: feature-pose.hh:65
SignalTimeDependent< Vector7, int > q_faMfb
Definition: feature-pose.hh:99
SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
Jacobian of the error wrt the robot state: .
Definition: feature-abstract.hh:193
dynamicgraph::SignalPtr< MatrixHomogeneous, int > jbMfb
Input pose of Frame B wrt to Joint B.
Definition: feature-pose.hh:78
static const std::string CLASS_NAME
Definition: feature-pose.hh:64
SignalTimeDependent< Vector7, int > q_faMfbDes
Definition: feature-pose.hh:103
FeaturePose< R3xSO3Representation > FeaturePose_t
Definition: feature-pose.hh:169
Vector6d convertVelocity(const MatrixHomogeneous &M, const MatrixHomogeneous &Mdes, const Vector &faNufafbDes)
FeaturePose< SE3Representation > FeaturePoseSE3_t
Definition: feature-pose.hh:170
Representation_t
Enum used to specify what difference operation is used in FeaturePose.
Definition: feature-pose.hh:29
dynamicgraph::SignalPtr< Matrix, int > jaJja
Jacobian of the input Joint A, expressed in Joint A
Definition: feature-pose.hh:80
Definition: feature-pose.hh:29
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:76
Eigen::Matrix< double, 7, 1 > SOT_CORE_EXPORT Vector7
Definition: matrix-geometry.hh:84
Feature that controls the relative (or absolute) pose between two frames A (or world) and B...
Definition: feature-pose.hh:62
dynamicgraph::SignalPtr< Matrix, int > jbJjb
Jacobian of the input Joint B, expressed in Joint B
Definition: feature-pose.hh:82
dynamicgraph::SignalPtr< MatrixHomogeneous, int > faMfbDes
The desired pose of Frame B wrt to Frame A.
Definition: feature-pose.hh:85
dynamicgraph::SignalPtr< MatrixHomogeneous, int > oMjb
Input pose of Joint B wrt to world frame.
Definition: feature-pose.hh:76
dynamicgraph::SignalPtr< Vector, int > faNufafbDes
Definition: feature-pose.hh:88
SignalTimeDependent< dynamicgraph::Vector, int > errorSOUT
This signal returns the error between the desired value and the current value : . ...
Definition: feature-abstract.hh:185
Definition: abstract-sot-external-interface.hh:17
Definition: feature-pose.hh:29