1 #ifndef IIT_ROBOT_CT_DOUBLEINVERTEDPENDULUM_INERTIA_PROPERTIES_H_ 2 #define IIT_ROBOT_CT_DOUBLEINVERTEDPENDULUM_INERTIA_PROPERTIES_H_ 12 namespace ct_DoubleInvertedPendulum {
23 template <
typename TRAIT>
26 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
51 template <
typename TRAIT>
54 template <
typename TRAIT>
56 return this->tensor_Link1;
58 template <
typename TRAIT>
60 return this->tensor_Link2;
62 template <
typename TRAIT>
64 return this->tensor_Link1.
getMass();
66 template <
typename TRAIT>
68 return this->tensor_Link2.
getMass();
70 template <
typename TRAIT>
72 return this->com_Link1;
74 template <
typename TRAIT>
76 return this->com_Link2;
79 template <
typename TRAIT>
CoreS::Vector3 Vec3d
Definition: inertia_properties.h:31
Scalar getMass_Link1() const
Definition: inertia_properties.h:63
const Vec3d & getCOM_Link2() const
Definition: inertia_properties.h:75
const IMatrix & getTensor_Link1() const
Definition: inertia_properties.h:55
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
iit::rbd::Core< Scalar > CoreS
Definition: inertia_properties.h:29
const Vec3d & getCOM_Link1() const
Definition: inertia_properties.h:71
InertiaProperties()
Definition: inertia_properties.impl.h:2
const IMatrix & getTensor_Link2() const
Definition: inertia_properties.h:59
tpl::InertiaMatrixDense< double > InertiaMatrixDense
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef TRAIT::Scalar Scalar
Definition: inertia_properties.h:28
~InertiaProperties()
Definition: inertia_properties.h:52
iit::rbd::tpl::InertiaMatrixDense< Scalar > IMatrix
Definition: inertia_properties.h:30
PlainMatrix< Scalar, 3, 1 > Vector3
Scalar getMass_Link2() const
Definition: inertia_properties.h:67
Definition: inertia_properties.h:24
Scalar getTotalMass() const
Definition: inertia_properties.h:80