1 #ifndef IIT_ROBOT_CT_DOUBLEINVERTEDPENDULUM_FORWARD_DYNAMICS_H_ 2 #define IIT_ROBOT_CT_DOUBLEINVERTEDPENDULUM_FORWARD_DYNAMICS_H_ 9 #include "transforms.h" 14 namespace ct_DoubleInvertedPendulum {
31 template <
typename TRAIT>
34 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
48 typedef iit::ct_DoubleInvertedPendulum::tpl::MotionTransforms<TRAIT>
MTransforms;
73 const JointState& q,
const JointState& qd,
const JointState& tau,
const ExtForces& fext = zeroExtForces);
76 const JointState& qd,
const JointState& tau,
const ExtForces& fext = zeroExtForces);
84 MTransforms* motionTransforms;
110 static const ExtForces zeroExtForces;
113 template <
typename TRAIT>
115 (motionTransforms-> fr_Link1_X_fr_DoubleInvertedPendulumBase)(q);
116 (motionTransforms-> fr_Link2_X_fr_Link1)(q);
119 template <
typename TRAIT>
128 fd(qdd, qd, tau, fext);
Definition: link_data_map.h:12
ForwardDynamics(InertiaProperties< TRAIT > &in, MTransforms &tr)
Definition: forward_dynamics.impl.h:8
LinkDataMap< Force > ExtForces
Definition: forward_dynamics.h:46
CoreS::ForceVector Force
Definition: forward_dynamics.h:41
PlainMatrix< Scalar, 6, 6 > Matrix66
void fd(JointState &qdd, const JointState &q, const JointState &qd, const JointState &tau, const ExtForces &fext=zeroExtForces)
Definition: forward_dynamics.h:120
Column2d< SCALAR > JointState
Definition: declarations.h:19
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
void setJointStatus(const JointState &q) const
Definition: forward_dynamics.h:114
CoreS::VelocityVector Acceleration
Definition: forward_dynamics.h:43
iit::ct_DoubleInvertedPendulum::tpl::MotionTransforms< TRAIT > MTransforms
Definition: forward_dynamics.h:48
iit::ct_DoubleInvertedPendulum::tpl::JointState< Scalar > JointState
Definition: forward_dynamics.h:47
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef TRAIT::Scalar Scalar
Definition: forward_dynamics.h:37
CoreS::Matrix66 Matrix66S
Definition: forward_dynamics.h:45
CoreS::VelocityVector Velocity
Definition: forward_dynamics.h:42
iit::rbd::Core< Scalar > CoreS
Definition: forward_dynamics.h:39
CoreS::Column6D Column6DS
Definition: forward_dynamics.h:44
Definition: inertia_properties.h:24
Definition: forward_dynamics.h:32