1 #ifndef IIT_ROBOT_CT_QUADROTOR_INERTIA_PROPERTIES_H_ 2 #define IIT_ROBOT_CT_QUADROTOR_INERTIA_PROPERTIES_H_ 13 namespace ct_quadrotor {
24 template<
typename TRAIT>
27 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
32 typedef Eigen::Matrix<SCALAR, 3, 1>
Vec3d;
57 template <
typename TRAIT>
60 template <
typename TRAIT>
62 return this->tensor_body;
64 template <
typename TRAIT>
66 return this->tensor_link1;
68 template <
typename TRAIT>
70 return this->tensor_link2;
72 template <
typename TRAIT>
74 return this->tensor_body.
getMass();
76 template <
typename TRAIT>
78 return this->tensor_link1.
getMass();
80 template <
typename TRAIT>
82 return this->tensor_link2.
getMass();
84 template <
typename TRAIT>
86 return this->com_body;
88 template <
typename TRAIT>
90 return this->com_link1;
92 template <
typename TRAIT>
94 return this->com_link2;
97 template <
typename TRAIT>
99 return 0.5 + 0.025 + 0.1;
SCALAR getMass_body() const
Definition: inertia_properties.h:73
InertiaProperties()
Definition: inertia_properties.impl.h:2
const IMatrix & getTensor_link2() const
Definition: inertia_properties.h:69
SCALAR getTotalMass() const
Definition: inertia_properties.h:98
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
const Vec3d & getCOM_link2() const
Definition: inertia_properties.h:93
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef TRAIT::Scalar SCALAR
Definition: inertia_properties.h:29
Definition: inertia_properties.h:25
SCALAR getMass_link2() const
Definition: inertia_properties.h:81
const Vec3d & getCOM_link1() const
Definition: inertia_properties.h:89
const IMatrix & getTensor_body() const
Definition: inertia_properties.h:61
SCALAR getMass_link1() const
Definition: inertia_properties.h:77
tpl::InertiaMatrixDense< double > InertiaMatrixDense
const IMatrix & getTensor_link1() const
Definition: inertia_properties.h:65
iit::rbd::tpl::InertiaMatrixDense< SCALAR > IMatrix
Definition: inertia_properties.h:31
Eigen::Matrix< SCALAR, 3, 1 > Vec3d
Definition: inertia_properties.h:32
~InertiaProperties()
Definition: inertia_properties.h:58
const Vec3d & getCOM_body() const
Definition: inertia_properties.h:85