// Pinocchio is free software: you can redistribute it
...
...
@@ -26,7 +26,7 @@ namespace se3
/// \brief Computes the full model Jacobian, i.e. the stack of all motion subspace expressed in the world frame.
/// The result is accessible through data.J.
///
/// \note This Jacobian does not correspond to any specific joint frame Jacobian. From this Hacobian, it is then possible to easily extract the Jacobian of a specific joint frame.
/// \note This Jacobian does not correspond to any specific joint frame Jacobian. From this Jacobian, it is then possible to easily extract the Jacobian of a specific joint frame.
///
/// \param[in] model The model structure of the rigid body system.
/// \param[in] data The data structure of the rigid body system.
...
...
@@ -71,6 +71,41 @@ namespace se3
constEigen::VectorXd&q,
constModel::JointIndexjointId);
///
/// \brief Computes the full model Jacobian variations with respect to time. It corresponds to dJ/dt which depends both on q and v
/// The result is accessible through data.dJ.
///
///
/// \param[in] model The model structure of the rigid body system.
/// \param[in] data The data structure of the rigid body system.
/// \param[in] q The joint configuration vector (dim model.nq).
/// \param[in] v The joint velocity vector (dim model.nv).
///
/// \return The full model Jacobian (matrix 6 x model.nv).
///
inlineconstData::Matrix6x&
computeJacobiansTimeVariation(constModel&model,
Data&data,
constEigen::VectorXd&q,
constEigen::VectorXd&v);
///
/// \brief Computes the Jacobian time variation of a specific joint frame expressed either in the world frame or in the local frame of the joint.
/// \note This jacobian is extracted from data.dJ. You have to run se3::computeJacobiansTimeVariation before calling it.
///
/// \param[in] localFrame Expressed the Jacobian in the local frame or world frame coordinates system.
/// \param[in] model The model structure of the rigid body system.
/// \param[in] data The data structure of the rigid body system.
/// \param[in] jointId The id of the joint.
/// \param[out] dJ A reference on the Jacobian matrix where the results will be stored in (dim 6 x model.nv). You must fill dJ with zero elements, e.g. dJ.fill(0.).