1 #ifndef IIT_CT_QUADROTOR_JSIM_H_ 2 #define IIT_CT_QUADROTOR_JSIM_H_ 9 #include "transforms.h" 15 namespace ct_quadrotor {
23 template <
class TRAIT>
27 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
35 typedef const Eigen::Block<const MatrixType,6,2>
BlockF_t;
39 typedef iit::ct_quadrotor::tpl::ForceTransforms<TRAIT>
FTransforms;
43 JSIM(IProperties&, FTransforms&);
63 const MatrixType&
getL()
const;
86 const BlockF_t
getF()
const;
101 IProperties& linkInertias;
102 FTransforms* frcTransf;
105 InertiaMatrix body_Ic;
106 InertiaMatrix link1_Ic;
107 const InertiaMatrix& link2_Ic;
108 InertiaMatrix Ic_spare;
115 template <
class TRAIT>
120 template <
class TRAIT>
125 template <
class TRAIT>
130 template <
class TRAIT>
135 template <
class TRAIT>
void computeL()
Definition: jsim.impl.h:62
Column2d JointState
Definition: declarations.h:23
JSIM(IProperties &, FTransforms &)
Definition: jsim.impl.h:4
const BlockFixedBase_t getFixedBaseBlock() const
Definition: jsim.h:136
iit::rbd::tpl::InertiaMatrixDense< SCALAR > InertiaMatrix
Definition: jsim.h:40
const Eigen::Block< const MatrixType, 2, 2 > BlockFixedBase_t
Definition: jsim.h:37
const MatrixType & getL() const
Definition: jsim.h:116
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
const BlockF_t getF() const
Definition: jsim.h:131
TRAIT::Scalar SCALAR
Definition: jsim.h:31
Base::Index Index
Definition: jsim.h:32
iit::ct_quadrotor::tpl::ForceTransforms< TRAIT > FTransforms
Definition: jsim.h:39
Definition: inertia_properties.h:25
const MatrixType & getInverse() const
Definition: jsim.h:121
InertiaProperties< TRAIT > IProperties
Definition: jsim.h:38
void computeLInverse()
Definition: jsim.impl.h:85
void computeInverse()
Definition: jsim.impl.h:75
const InertiaMatrix & getWholeBodyInertia() const
Definition: jsim.h:126
Eigen::Matrix< SCALAR, 8, 8 > MatrixType
Definition: jsim.h:33
const JSIM & update(const iit::ct_quadrotor::JointState &)
Definition: jsim.impl.h:18
const Eigen::Block< const MatrixType, 6, 2 > BlockF_t
Definition: jsim.h:35
~JSIM()
Definition: jsim.h:44