1 #ifndef IIT_HYQ_JSIM_H_ 2 #define IIT_HYQ_JSIM_H_ 8 #include "transforms.h" 23 template <
typename TRAIT>
27 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
37 typedef const Eigen::Block<const MatrixType,6,12>
BlockF_t;
45 JSIM(IProperties&, FTransforms&);
65 const MatrixType&
getL()
const;
88 const BlockF_t
getF()
const;
103 IProperties& linkInertias;
104 FTransforms* frcTransf;
107 InertiaMatrix trunk_Ic;
108 InertiaMatrix LF_hipassembly_Ic;
109 InertiaMatrix LF_upperleg_Ic;
110 const InertiaMatrix& LF_lowerleg_Ic;
111 InertiaMatrix RF_hipassembly_Ic;
112 InertiaMatrix RF_upperleg_Ic;
113 const InertiaMatrix& RF_lowerleg_Ic;
114 InertiaMatrix LH_hipassembly_Ic;
115 InertiaMatrix LH_upperleg_Ic;
116 const InertiaMatrix& LH_lowerleg_Ic;
117 InertiaMatrix RH_hipassembly_Ic;
118 InertiaMatrix RH_upperleg_Ic;
119 const InertiaMatrix& RH_lowerleg_Ic;
120 InertiaMatrix Ic_spare;
127 template <
typename TRAIT>
132 template <
typename TRAIT>
137 template <
typename TRAIT>
142 template <
typename TRAIT>
147 template <
typename TRAIT>
Base::Index Index
Definition: jsim.h:34
Column12d< SCALAR > JointState
Definition: declarations.h:20
const MatrixType & getL() const
Definition: jsim.h:128
const MatrixType & getInverse() const
Definition: jsim.h:133
~JSIM()
Definition: jsim.h:46
InertiaProperties< TRAIT > IProperties
Definition: jsim.h:40
iit::HyQ::tpl::ForceTransforms< TRAIT > FTransforms
Definition: jsim.h:41
iit::rbd::Core< Scalar > CoreS
Definition: jsim.h:33
const JSIM & update(const JointState &)
Definition: jsim.impl.h:22
const Eigen::Block< const MatrixType, 6, 12 > BlockF_t
Definition: jsim.h:37
const BlockF_t getF() const
Definition: jsim.h:143
JSIM(IProperties &, FTransforms &)
Definition: jsim.impl.h:5
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
iit::rbd::PlainMatrix< Scalar, 18, 18 > MatrixType
Definition: jsim.h:35
void computeL()
Definition: jsim.impl.h:206
void computeInverse()
Definition: jsim.impl.h:275
const InertiaMatrix & getWholeBodyInertia() const
Definition: jsim.h:138
iit::HyQ::tpl::JointState< Scalar > JointState
Definition: jsim.h:32
Definition: inertia_properties.h:26
const Eigen::Block< const MatrixType, 12, 12 > BlockFixedBase_t
Definition: jsim.h:39
TRAIT::Scalar Scalar
Definition: jsim.h:31
iit::rbd::tpl::InertiaMatrixDense< Scalar > InertiaMatrix
Definition: jsim.h:42
Eigen::Matrix< Scalar, R, C > PlainMatrix
const BlockFixedBase_t getFixedBaseBlock() const
Definition: jsim.h:148
void computeLInverse()
Definition: jsim.impl.h:317