10 #ifndef __SOTVECTORTOMATRIX_HH 11 #define __SOTVECTORTOMATRIX_HH 13 #include <dynamic-graph/all-signals.h> 14 #include <dynamic-graph/entity.h> 19 #include <dynamic-graph/linear-algebra.h> 29 #if defined(vector_to_rotation_EXPORTS) 30 #define SOTVECTORTOROTATION_EXPORT __declspec(dllexport) 32 #define SOTVECTORTOROTATION_EXPORT __declspec(dllimport) 35 #define SOTVECTORTOROTATION_EXPORT 45 "use RPYToMatrix")]] SOTVECTORTOROTATION_EXPORT VectorToRotation
46 :
public dynamicgraph::Entity {
47 enum sotAxis { AXIS_X, AXIS_Y, AXIS_Z };
50 std::vector<sotAxis> axes;
53 static const std::string CLASS_NAME;
54 virtual const std::string &getClassName(
void)
const {
return CLASS_NAME; }
56 VectorToRotation(
const std::string &name);
58 virtual ~VectorToRotation(
void) {}
60 dynamicgraph::SignalPtr<dynamicgraph::Vector, int> SIN;
61 dynamicgraph::SignalTimeDependent<MatrixRotation, int> SOUT;
63 MatrixRotation &computeRotation(
const dynamicgraph::Vector &angles,
70 #endif // #ifndef __SOTVECTORTOMATRIX_HH Definition: feature-point6d-relative.hh:50
Eigen::Matrix< double, 3, 3 > SOT_CORE_EXPORT MatrixRotation
Definition: matrix-geometry.hh:76
Definition: abstract-sot-external-interface.hh:17