Template Function pinocchio::getJointKinematicHessian(const ModelTpl<Scalar, Options, JointCollectionTpl>&, const DataTpl<Scalar, Options, JointCollectionTpl>&, const Model::JointIndex, const ReferenceFrame)
Defined in File kinematics-derivatives.hpp
Function Documentation
-
template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
inline Tensor<Scalar, 3, Options> pinocchio::getJointKinematicHessian(const ModelTpl<Scalar, Options, JointCollectionTpl> &model, const DataTpl<Scalar, Options, JointCollectionTpl> &data, const Model::JointIndex joint_id, const ReferenceFrame rf) Retrieves the kinematic Hessian of a given joint according to the values aleardy computed by computeJointKinematicHessians and stored in data. While the kinematic Jacobian of a given joint frame corresponds to the first order derivative of the placement variation with respect to \( q \), the kinematic Hessian corresponds to the second order derivation of placement variation, which in turns also corresponds to the first order derivative of the kinematic Jacobian.
Remark
This function is also related to
See also
computeJointKinematicHessians. This function will proceed to some dynamic memory allocation for the return type. Please refer to getJointKinematicHessian for a version without dynamic memory allocation.
- Template Parameters:
Scalar – Scalar type of the kinematic model.
Options – Alignement options of the kinematic model.
JointCollection – Collection of Joint types.
ConfigVectorType – Type of the joint configuration vector.
- Parameters:
model – [in] The model structure of the rigid body system.
data – [in] The data structure of the rigid body system.
joint_id – [in] Index of the joint in model.
rf – [in] Reference frame with respect to which the derivative of the Jacobian is expressed.
- Returns:
The kinematic Hessian of the joint provided by its joint_id and expressed in the frame precised by the variable rf.