36 "sotFeatureVector3(" +
name +
")::input(vector3)::vector"),
38 NULL,
"sotFeaturePoint6d(" +
name +
")::input(matrixHomo)::position"),
40 NULL,
"sotFeatureVector3(" +
name +
")::input(matrix)::Jq"),
42 NULL,
"sotFeatureVector3(" +
name +
")::input(vector)::positionRef") {
79 Skew(0, 1) = -vect(2);
83 Skew(1, 2) = -vect(0);
84 Skew(2, 0) = -vect(1);
91 J.resize(3, Jq.cols());
92 for (
unsigned int i = 0;
i < 3; ++
i)
93 for (
int j = 0; j < Jq.cols(); ++j) {
95 for (
unsigned int k = 0; k < 3; ++k) {
96 J(
i, j) -= RSk(
i, k) * Jq(k + 3, j);
114 sotDEBUG(15) <<
"M = " << M << std::endl;
115 sotDEBUG(15) <<
"v = " << vect << std::endl;
116 sotDEBUG(15) <<
"vd = " << vectdes << std::endl;
129 os <<
"Vector3 <" <<
name <<
">";
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
FeatureVector3(const std::string &name)
void signalRegistration(const SignalArray< int > &signals)
virtual dynamicgraph::Matrix & computeJacobian(dynamicgraph::Matrix &res, int time)
#define sotDEBUGOUT(level)
Class that defines point-3d control feature.
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeaturePosture, "FeaturePosture")
#define sotDEBUGIN(level)
SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
Jacobian of the error wrt the robot state: .
unsigned int getDimension(void) const
Shortest method.
dynamicgraph::SignalPtr< MatrixHomogeneous, int > positionSIN
virtual void addDependency(const SignalBase< Time > &signal)
virtual dynamicgraph::Vector & computeError(dynamicgraph::Vector &res, int time)
This class gives the abstract definition of a feature.
virtual void display(std::ostream &os) const
Eigen::Matrix< double, 3, 3 > SOT_CORE_EXPORT MatrixRotation
dynamicgraph::SignalPtr< dynamicgraph::Matrix, int > articularJacobianSIN
SignalTimeDependent< dynamicgraph::Vector, int > errorSOUT
This signal returns the error between the desired value and the current value : . ...
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > positionRefSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > vectorSIN