|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_MATH_MOTIONVECTOR_H
28 #define RL_MATH_MOTIONVECTOR_H
43 template<
typename Scalar>
47 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
51 typedef typename ::Eigen::Matrix<Scalar, 6, 1>
MatrixType;
67 template<
typename OtherDerived>
79 return data.template segment<3>(0);
84 return data.template segment<3>(0);
87 template<
typename OtherScalar>
98 template<
typename OtherScalar>
103 return data.template segment<3>(3);
108 return data.template segment<3>(3);
116 template<
typename OtherDerived>
139 template<
typename OtherScalar>
148 template<
typename OtherScalar>
172 #endif // RL_MATH_MOTIONVECTOR_H
MotionVector operator-(const MotionVector &other) const
Definition: MotionVector.h:131
const MatrixType ConstMatrixType
Definition: MotionVector.h:53
Scalar dot(const ForceVector< OtherScalar > &other) const
Definition: MotionVector.hxx:52
LinearType linear()
Definition: MotionVector.h:101
::Eigen::Block< MatrixType, 3, 1 > AngularType
Definition: MotionVector.h:55
ForceVector< OtherScalar > cross(const ForceVector< OtherScalar > &other) const
Definition: MotionVector.hxx:40
MotionVector & operator=(const ::Eigen::MatrixBase< OtherDerived > &other)
Definition: MotionVector.h:117
Scalar ScalarType
Definition: MotionVector.h:49
MotionVector cross(const MotionVector &other) const
Definition: MotionVector.h:90
MatrixType data
Definition: MotionVector.h:166
ConstAngularType angular() const
Definition: MotionVector.h:82
MotionVector operator+(const MotionVector &other) const
Definition: MotionVector.h:123
ConstLinearType linear() const
Definition: MotionVector.h:106
AngularType angular()
Definition: MotionVector.h:77
const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstLinearType
Definition: MotionVector.h:61
MotionVector operator/(const OtherScalar &other) const
Definition: MotionVector.h:149
MotionVector()
Definition: MotionVector.h:63
void setZero()
Definition: MotionVector.h:157
spatial::ForceVector< Real > ForceVector
Definition: Spatial.h:54
MotionVector(const ::Eigen::MatrixBase< OtherDerived > &other)
Definition: MotionVector.h:68
MotionVector operator*(const OtherScalar &other) const
Definition: MotionVector.h:140
::Eigen::Block< MatrixType, 3, 1 > LinearType
Definition: MotionVector.h:59
virtual ~MotionVector()
Definition: MotionVector.h:73
Force vector.
Definition: ForceVector.h:46
ConstMatrixType & matrix() const
Definition: MotionVector.h:111
const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstAngularType
Definition: MotionVector.h:57
Motion vector.
Definition: MotionVector.h:45
::Eigen::Matrix< Scalar, 6, 1 > MatrixType
Definition: MotionVector.h:51
Robotics Library.
Definition: AnalogInput.cpp:30