19 #ifndef HPP_CORE_RELATIVE_MOTION_HH 20 #define HPP_CORE_RELATIVE_MOTION_HH 24 #include <hpp/pinocchio/fwd.hh> 26 #include <hpp/pinocchio/joint.hh> 51 typedef Eigen::Matrix<RelativeMotionType, Eigen::Dynamic, Eigen::Dynamic>
matrix_type;
97 return (joint ? joint->index() : 0);
108 #endif // HPP_CORE_RELATIVE_MOTION_HH pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:114
static void fromConstraint(matrix_type &matrix, const DevicePtr_t &robot, const ConstraintSetPtr_t &constraint)
boost::shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
pinocchio::size_type size_type
Definition: fwd.hh:156
pinocchio::JointConstPtr_t JointConstPtr_t
Definition: fwd.hh:132
static matrix_type matrix(const DevicePtr_t &robot)
static size_type idx(const JointConstPtr_t &joint)
Definition: relative-motion.hh:95
The relative motion is not constrained.
Definition: relative-motion.hh:39
Definition: relative-motion.hh:37
RelativeMotionType
Definition: relative-motion.hh:31
Definition: relative-motion.hh:34
Eigen::NumTraits< value_type > NumTraits
Eigen::Matrix< RelativeMotionType, Eigen::Dynamic, Eigen::Dynamic > matrix_type
Definition: relative-motion.hh:51
static void recurseSetRelMotion(matrix_type &matrix, const size_type &i1, const size_type &i2, const RelativeMotionType &type)
Definition: relative-motion.hh:30