1 #ifndef IIT_TESTHYQ_JSIM_H_ 2 #define IIT_TESTHYQ_JSIM_H_ 8 #include "transforms.h" 23 template <
typename TRAIT>
27 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
31 typedef typename TRAIT::Scalar
Scalar;
37 typedef const Eigen::Block<const MatrixType,6,12>
BlockF_t;
41 typedef iit::TestHyQ::tpl::ForceTransforms<TRAIT>
FTransforms;
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>
const BlockFixedBase_t getFixedBaseBlock() const
Definition: jsim.h:148
iit::rbd::tpl::InertiaMatrixDense< Scalar > InertiaMatrix
Definition: jsim.h:42
Definition: StateDependentMatrix.h:36
const MatrixType & getInverse() const
Definition: jsim.h:133
iit::TestHyQ::tpl::JointState< Scalar > JointState
Definition: jsim.h:32
iit::rbd::PlainMatrix< Scalar, 18, 18 > MatrixType
Definition: jsim.h:35
~JSIM()
Definition: jsim.h:46
const BlockF_t getF() const
Definition: jsim.h:143
JSIM(IProperties &, FTransforms &)
Definition: jsim.impl.h:5
TRAIT::Scalar Scalar
Definition: jsim.h:31
InertiaProperties< TRAIT > IProperties
Definition: jsim.h:40
void computeLInverse()
Definition: jsim.impl.h:317
Base::Index Index
Definition: StateDependentMatrix.h:47
const Eigen::Block< const MatrixType, 6, 12 > BlockF_t
Definition: jsim.h:37
void computeL()
Definition: jsim.impl.h:206
iit::rbd::Core< Scalar > CoreS
Definition: jsim.h:33
Definition: inertia_properties.h:24
Column12d< SCALAR > JointState
Definition: declarations.h:19
const MatrixType & getL() const
Definition: jsim.h:128
const InertiaMatrix & getWholeBodyInertia() const
Definition: jsim.h:138
const JSIM & update(const JointState &)
Definition: jsim.impl.h:22
Base::Index Index
Definition: jsim.h:34
Eigen::Matrix< Scalar, R, C > PlainMatrix
Definition: rbd.h:54
void computeInverse()
Definition: jsim.impl.h:275
const Eigen::Block< const MatrixType, 12, 12 > BlockFixedBase_t
Definition: jsim.h:39
iit::TestHyQ::tpl::ForceTransforms< TRAIT > FTransforms
Definition: jsim.h:41