1 #ifndef IIT_ROBOT_TESTIRB4600_FORWARD_DYNAMICS_H_ 2 #define IIT_ROBOT_TESTIRB4600_FORWARD_DYNAMICS_H_ 11 #include "transforms.h" 16 namespace testirb4600 {
33 template <
typename TRAIT>
36 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
39 typedef typename TRAIT::Scalar
SCALAR;
52 typedef iit::testirb4600::tpl::MotionTransforms<TRAIT>
MTransforms;
77 const JointState& q,
const JointState& qd,
const JointState& tau,
const ExtForces& fext = zeroExtForces);
80 const JointState& qd,
const JointState& tau,
const ExtForces& fext = zeroExtForces);
88 MTransforms* motionTransforms;
154 static const ExtForces zeroExtForces;
157 template <
typename TRAIT>
159 (motionTransforms-> fr_link1_X_fr_link0)(q);
160 (motionTransforms-> fr_link2_X_fr_link1)(q);
161 (motionTransforms-> fr_link3_X_fr_link2)(q);
162 (motionTransforms-> fr_link4_X_fr_link3)(q);
163 (motionTransforms-> fr_link5_X_fr_link4)(q);
164 (motionTransforms-> fr_link6_X_fr_link5)(q);
167 template<
typename TRAIT>
176 fd(qdd, qd, tau, fext);
CoreS::Matrix66 Matrix66S
Definition: forward_dynamics.h:49
CoreS::Column6D Column6DS
Definition: forward_dynamics.h:47
iit::rbd::tpl::InertiaMatrixDense< SCALAR > InertiaMatrix
Definition: forward_dynamics.h:51
PlainMatrix< Scalar, 6, 6 > Matrix66
Definition: rbd.h:79
iit::testirb4600::tpl::MotionTransforms< TRAIT > MTransforms
Definition: forward_dynamics.h:52
LinkDataMap< typename CoreS::ForceVector > ExtForces
Definition: forward_dynamics.h:43
CoreS::ForceVector Force
Definition: forward_dynamics.h:44
iit::testirb4600::tpl::JointState< SCALAR > JointState
Definition: forward_dynamics.h:48
CoreS::VelocityVector Acceleration
Definition: forward_dynamics.h:46
ForwardDynamics(iit::testirb4600::dyn::tpl::InertiaProperties< TRAIT > &in, MTransforms &tr)
Definition: forward_dynamics.impl.h:9
Definition: InertiaMatrix.h:25
void fd(JointState &qdd, const JointState &q, const JointState &qd, const JointState &tau, const ExtForces &fext=zeroExtForces)
Definition: forward_dynamics.h:168
void setJointStatus(const JointState &q) const
Definition: forward_dynamics.h:158
Definition: inertia_properties.h:25
Vector6D Column6D
a 3D subvector of a 6D vector
Definition: rbd.h:90
iit::rbd::Core< SCALAR > CoreS
Definition: forward_dynamics.h:41
Definition: link_data_map.h:12
Vector6D ForceVector
a 3D subvector of a 6D vector
Definition: rbd.h:92
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef TRAIT::Scalar SCALAR
Definition: forward_dynamics.h:39
Column6d< SCALAR > JointState
Definition: declarations.h:19
Vector6D VelocityVector
a 3D subvector of a 6D vector
Definition: rbd.h:91
CoreS::VelocityVector Velocity
Definition: forward_dynamics.h:45
Definition: forward_dynamics.h:34