Template Function pinocchio::getFrameVelocity

Function Documentation

template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
inline MotionTpl<Scalar, Options> pinocchio::getFrameVelocity(const ModelTpl<Scalar, Options, JointCollectionTpl> &model, const DataTpl<Scalar, Options, JointCollectionTpl> &data, const FrameIndex frame_id, const ReferenceFrame rf = LOCAL)

Returns the spatial velocity of the Frame expressed in the desired reference frame. You must first call pinocchio::forwardKinematics to update placement and velocity values in data structure.

Warning

Fist or second order forwardKinematics should have been called first

Parameters:
  • model[in] The kinematic model

  • data[in] Data associated to model

  • frame_id[in] Id of the operational Frame

  • rf[in] Reference frame in which the velocity is expressed.

Returns:

The spatial velocity of the Frame expressed in the desired reference frame.