1 #ifndef IIT_CT_INVERTEDPENDULUM_JSIM_H_ 2 #define IIT_CT_INVERTEDPENDULUM_JSIM_H_ 8 #include "transforms.h" 15 namespace ct_InvertedPendulum {
23 template <
typename TRAIT>
27 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
37 typedef iit::ct_InvertedPendulum::tpl::ForceTransforms<TRAIT>
FTransforms;
42 JSIM(IProperties&, FTransforms&);
62 const MatrixType&
getL()
const;
74 IProperties& linkInertias;
75 FTransforms* frcTransf;
78 const InertiaMatrix& Link1_Ic;
79 InertiaMatrix Ic_spare;
86 template <
typename TRAIT>
91 template <
typename TRAIT>
TRAIT::Scalar Scalar
Definition: jsim.h:31
InertiaProperties< TRAIT > IProperties
Definition: jsim.h:36
CoreS::ForceVector ForceVector
Definition: jsim.h:39
iit::rbd::tpl::InertiaMatrixDense< Scalar > InertiaMatrix
Definition: jsim.h:38
iit::rbd::PlainMatrix< Scalar, 1, 1 > MatrixType
Definition: jsim.h:35
Definition: inertia_properties.h:24
void computeLInverse()
Definition: jsim.impl.h:54
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
void computeL()
Definition: jsim.impl.h:39
Column1d< SCALAR > JointState
Definition: declarations.h:19
Base::Index Index
Definition: jsim.h:34
const MatrixType & getL() const
Definition: jsim.h:87
~JSIM()
Definition: jsim.h:43
iit::ct_InvertedPendulum::tpl::ForceTransforms< TRAIT > FTransforms
Definition: jsim.h:37
JSIM(IProperties &, FTransforms &)
Definition: jsim.impl.h:5
const MatrixType & getInverse() const
Definition: jsim.h:92
void computeInverse()
Definition: jsim.impl.h:47
iit::rbd::Core< Scalar > CoreS
Definition: jsim.h:33
Eigen::Matrix< Scalar, R, C > PlainMatrix
const JSIM & update(const JointState &)
Definition: jsim.impl.h:17
iit::ct_InvertedPendulum::tpl::JointState< Scalar > JointState
Definition: jsim.h:32