Template Function pinocchio::getFrameVelocityDerivatives(const ModelTpl<Scalar, Options, JointCollectionTpl>&, DataTpl<Scalar, Options, JointCollectionTpl>&, const FrameIndex, const ReferenceFrame, const Eigen::MatrixBase<Matrix6xOut1>&, const Eigen::MatrixBase<Matrix6xOut2>&)
Defined in File frames-derivatives.hpp
Function Documentation
-
template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl, typename Matrix6xOut1, typename Matrix6xOut2>
void pinocchio::getFrameVelocityDerivatives(const ModelTpl<Scalar, Options, JointCollectionTpl> &model, DataTpl<Scalar, Options, JointCollectionTpl> &data, const FrameIndex frame_id, const ReferenceFrame rf, const Eigen::MatrixBase<Matrix6xOut1> &v_partial_dq, const Eigen::MatrixBase<Matrix6xOut2> &v_partial_dv) Computes the partial derivatives of the frame spatial velocity with respect to q and v. You must first call pinocchio::computeForwardKinematicsDerivatives to compute all the required quantities.
- Template Parameters:
JointCollection – Collection of Joint types.
Matrix6xOut1 – Matrix6x containing the partial derivatives of the frame spatial velocity with respect to the joint configuration vector.
Matrix6xOut2 – Matrix6x containing the partial derivatives of the frame spatial velocity with respect to the joint velocity vector.
- 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.
v_partial_dq – [out] Partial derivative of the frame spatial velocity w.r.t.
.v_partial_dv – [out] Partial derivative of the frame spatial velociy w.r.t.
.