|
Robotics Library
0.6.2
|
Go to the documentation of this file.
27 #ifndef _RL_MATH_MOTIONVECTOR_H_
28 #define _RL_MATH_MOTIONVECTOR_H_
40 template<
typename Scalar >
44 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
48 typedef typename ::Eigen::Matrix< Scalar, 6, 1 >
MatrixType;
64 template<
typename OtherDerived >
76 return data.template segment< 3 >(0);
81 return data.template segment< 3 >(0);
84 template<
typename OtherScalar >
95 template<
typename OtherScalar >
100 return data.template segment< 3 >(3);
105 return data.template segment< 3 >(3);
113 template<
typename OtherDerived >
136 template<
typename OtherScalar >
145 template<
typename OtherScalar >
169 #endif // _RL_MATH_MOTIONVECTOR_H_
::Eigen::Block< MatrixType, 3, 1 > LinearType
Definition: MotionVector.h:56
MotionVector operator-(const MotionVector &other) const
Definition: MotionVector.h:128
const MatrixType ConstMatrixType
Definition: MotionVector.h:50
Scalar dot(const ForceVector< OtherScalar > &other) const
Definition: MotionVector.hxx:52
::Eigen::Matrix< Scalar, 6, 1 > MatrixType
Definition: MotionVector.h:48
LinearType linear()
Definition: MotionVector.h:98
const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstLinearType
Definition: MotionVector.h:58
ForceVector< OtherScalar > cross(const ForceVector< OtherScalar > &other) const
Definition: MotionVector.hxx:40
MotionVector & operator=(const ::Eigen::MatrixBase< OtherDerived > &other)
Definition: MotionVector.h:114
Scalar ScalarType
Definition: MotionVector.h:46
MotionVector cross(const MotionVector &other) const
Definition: MotionVector.h:87
MatrixType data
Definition: MotionVector.h:163
ConstAngularType angular() const
Definition: MotionVector.h:79
MotionVector operator+(const MotionVector &other) const
Definition: MotionVector.h:120
const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstAngularType
Definition: MotionVector.h:54
ConstLinearType linear() const
Definition: MotionVector.h:103
AngularType angular()
Definition: MotionVector.h:74
spatial::ForceVector< Real > ForceVector
Definition: Spatial.h:53
MotionVector operator/(const OtherScalar &other) const
Definition: MotionVector.h:146
MotionVector()
Definition: MotionVector.h:60
::Eigen::Block< MatrixType, 3, 1 > AngularType
Definition: MotionVector.h:52
void setZero()
Definition: MotionVector.h:154
MotionVector(const ::Eigen::MatrixBase< OtherDerived > &other)
Definition: MotionVector.h:65
MotionVector operator*(const OtherScalar &other) const
Definition: MotionVector.h:137
virtual ~MotionVector()
Definition: MotionVector.h:70
Definition: ForceVector.h:43
ConstMatrixType & matrix() const
Definition: MotionVector.h:108
Definition: MotionVector.h:42