|
Robotics Library
0.6.2
|
Go to the documentation of this file.
27 #ifndef _RL_MATH_FORCEVECTOR_H_
28 #define _RL_MATH_FORCEVECTOR_H_
41 template<
typename Scalar >
45 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
49 typedef typename ::Eigen::Matrix< Scalar, 6, 1 >
MatrixType;
57 typedef ::Eigen::Block< MatrixType, 3, 1 >
ForceType;
65 template<
typename OtherDerived >
66 ForceVector(const ::Eigen::MatrixBase< OtherDerived >& other) :
75 template<
typename OtherScalar >
80 return data.template segment< 3 >(3);
85 return data.template segment< 3 >(3);
95 return data.template segment< 3 >(0);
100 return data.template segment< 3 >(0);
103 template<
typename OtherDerived >
126 template<
typename OtherScalar >
135 template<
typename OtherScalar >
161 #endif // _RL_MATH_FORCEVECTOR_H_
Definition: ArticulatedBodyInertia.h:44
ArticulatedBodyInertia< Scalar > operator*(const ForceVector &other) const
::Eigen::Block< MatrixType, 3, 1 > ForceType
Definition: ForceVector.h:57
ConstMomentType moment() const
Definition: ForceVector.h:98
ForceVector(const ::Eigen::MatrixBase< OtherDerived > &other)
Definition: ForceVector.h:66
ForceVector operator*(const OtherScalar &other) const
Definition: ForceVector.h:127
ForceVector operator+(const ForceVector &other) const
Definition: ForceVector.h:110
::Eigen::Block< MatrixType, 3, 1 > MomentType
Definition: ForceVector.h:53
ForceVector & operator=(const ::Eigen::MatrixBase< OtherDerived > &other)
Definition: ForceVector.h:104
::Eigen::Matrix< Scalar, 6, 1 > MatrixType
Definition: ForceVector.h:49
const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstForceType
Definition: ForceVector.h:59
ConstMatrixType & matrix() const
Definition: ForceVector.h:88
Scalar dot(const MotionVector< OtherScalar > &other) const
Definition: ForceVector.hxx:40
const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstMomentType
Definition: ForceVector.h:55
ForceType force()
Definition: ForceVector.h:78
spatial::MotionVector< Real > MotionVector
Definition: Spatial.h:55
Scalar ScalarType
Definition: ForceVector.h:47
MatrixType data
Definition: ForceVector.h:155
const MatrixType ConstMatrixType
Definition: ForceVector.h:51
ForceVector operator/(const OtherScalar &other) const
Definition: ForceVector.h:136
spatial::ArticulatedBodyInertia< Real > ArticulatedBodyInertia
Definition: Spatial.h:51
Definition: ForceVector.h:43
virtual ~ForceVector()
Definition: ForceVector.h:71
Definition: MotionVector.h:42
MomentType moment()
Definition: ForceVector.h:93
ForceVector()
Definition: ForceVector.h:61
ForceVector operator-(const ForceVector &other) const
Definition: ForceVector.h:118
void setZero()
Definition: ForceVector.h:146
ConstForceType force() const
Definition: ForceVector.h:83