Go to the documentation of this file.
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 (std::size_t
i = 0;
i < 3; ++
i)
93 for (
size_type j = 0; j < Jq.cols(); ++j) {
95 for (std::size_t 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 <<
">";
virtual void display(std::ostream &os) const
virtual dynamicgraph::Vector & computeError(dynamicgraph::Vector &res, sigtime_t time)
virtual dynamicgraph::Matrix & computeJacobian(dynamicgraph::Matrix &res, sigtime_t time)
Class that defines point-3d control feature.
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
SignalTimeDependent< dynamicgraph::Vector, sigtime_t > errorSOUT
This signal returns the error between the desired value and the current value : .
dynamicgraph::SignalPtr< MatrixHomogeneous, sigtime_t > positionSIN
SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > jacobianSOUT
Jacobian of the error wrt the robot state: .
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeaturePosture, "FeaturePosture")
This class gives the abstract definition of a feature.
#define sotDEBUGOUT(level)
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > positionRefSIN
virtual void addDependency(const SignalBase< Time > &signal)
#define sotDEBUGIN(level)
dynamicgraph::SignalPtr< dynamicgraph::Matrix, sigtime_t > articularJacobianSIN
size_type getDimension(void) const
Shortest method.
Eigen::Matrix< double, 3, 3 > SOT_CORE_EXPORT MatrixRotation
FeatureVector3(const std::string &name)
void signalRegistration(const SignalArray< sigtime_t > &signals)
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > vectorSIN
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31