1 #ifndef IIT_ROBOT_CT_QUADROTOR_FORWARD_DYNAMICS_H_ 2 #define IIT_ROBOT_CT_QUADROTOR_FORWARD_DYNAMICS_H_ 11 #include "transforms.h" 16 namespace ct_quadrotor {
33 template <
typename TRAIT>
36 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
52 typedef iit::ct_quadrotor::tpl::MotionTransforms<TRAIT>
MTransforms;
80 JointState& qdd, Acceleration& body_a,
81 const Velocity& body_v,
const Acceleration& g,
82 const JointState& q,
const JointState& qd,
const JointState& tau,
const ExtForces& fext = zeroExtForces);
84 JointState& qdd, Acceleration& body_a,
85 const Velocity& body_v,
const Acceleration& g,
86 const JointState& qd,
const JointState& tau,
const ExtForces& fext = zeroExtForces);
94 MTransforms* motionTransforms;
123 static const ExtForces zeroExtForces;
126 template <
typename TRAIT>
128 (motionTransforms-> fr_link1_X_fr_body)(q);
129 (motionTransforms-> fr_link2_X_fr_link1)(q);
132 template<
typename TRAIT>
142 fd(qdd, body_a, body_v, g, qd, tau, fext);
Column2d< SCALAR > JointState
Definition: declarations.h:19
Definition: forward_dynamics.h:34
PlainMatrix< Scalar, 6, 6 > Matrix66
CoreS::Matrix66 Matrix66S
Definition: forward_dynamics.h:49
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef TRAIT::Scalar SCALAR
Definition: forward_dynamics.h:39
CoreS::ForceVector Force
Definition: forward_dynamics.h:44
ct::core::ADCodegenLinearizer< state_dim, control_dim >::ADCGScalar Scalar
Definition: HyALinearizationCodeGen.cpp:23
iit::rbd::Core< SCALAR > CoreS
Definition: forward_dynamics.h:41
Definition: inertia_properties.h:25
ForwardDynamics(iit::ct_quadrotor::dyn::tpl::InertiaProperties< TRAIT > &in, MotionTransforms &tr)
Definition: forward_dynamics.impl.h:9
Definition: link_data_map.h:12
iit::rbd::tpl::InertiaMatrixDense< SCALAR > InertiaMatrix
Definition: forward_dynamics.h:51
CoreS::VelocityVector Acceleration
Definition: forward_dynamics.h:46
CoreS::VelocityVector Velocity
Definition: forward_dynamics.h:45
LinkDataMap< typename CoreS::ForceVector > ExtForces
Definition: forward_dynamics.h:43
iit::ct_quadrotor::tpl::JointState< SCALAR > JointState
Definition: forward_dynamics.h:48
void setJointStatus(const JointState &q) const
Definition: forward_dynamics.h:127
void fd(JointState &qdd, Acceleration &body_a, const Velocity &body_v, const Acceleration &g, const JointState &q, const JointState &qd, const JointState &tau, const ExtForces &fext=zeroExtForces)
Definition: forward_dynamics.h:133
iit::ct_quadrotor::tpl::MotionTransforms< TRAIT > MTransforms
Definition: forward_dynamics.h:52
CoreS::Column6D Column6DS
Definition: forward_dynamics.h:47