Go to the documentation of this file.
31 const ForceAlignedVector & fext)
57 const ForceAlignedVector & fext)
68 bp::args(
"model",
"data",
"q"),
69 "Computes the partial derivative of the generalized gravity contribution\n"
70 "with respect to the joint configuration.\n\n"
72 "\tmodel: model of the kinematic tree\n"
73 "\tdata: data related to the model\n"
74 "\tq: the joint configuration vector (size model.nq)\n"
75 "Returns: dtau_statique_dq\n",
80 bp::args(
"model",
"data",
"q",
"fext"),
81 "Computes the partial derivative of the generalized gravity and external forces "
82 "contributions (a.k.a static torque vector)\n"
83 "with respect to the joint configuration.\n\n"
85 "\tmodel: model of the kinematic tree\n"
86 "\tdata: data related to the model\n"
87 "\tq: the joint configuration vector (size model.nq)\n"
88 "\tfext: list of external forces expressed in the local frame of the joints (size "
90 "Returns: dtau_statique_dq\n",
95 "Computes the RNEA partial derivatives, store the result in data.dtau_dq, "
96 "data.dtau_dv and data.M (aka dtau_da)\n"
97 "which correspond to the partial derivatives of the torque output with respect to "
98 "the joint configuration,\n"
99 "velocity and acceleration vectors.\n\n"
101 "\tmodel: model of the kinematic tree\n"
102 "\tdata: data related to the model\n"
103 "\tq: the joint configuration vector (size model.nq)\n"
104 "\tv: the joint velocity vector (size model.nv)\n"
105 "\ta: the joint acceleration vector (size model.nv)\n\n"
106 "Returns: (dtau_dq, dtau_dv, dtau_da)\n",
111 bp::args(
"model",
"data",
"q",
"v",
"a",
"fext"),
112 "Computes the RNEA partial derivatives with external contact foces,\n"
113 "store the result in data.dtau_dq, data.dtau_dv and data.M (aka dtau_da)\n"
114 "which correspond to the partial derivatives of the torque output with respect to "
115 "the joint configuration,\n"
116 "velocity and acceleration vectors.\n\n"
118 "\tmodel: model of the kinematic tree\n"
119 "\tdata: data related to the model\n"
120 "\tq: the joint configuration vector (size model.nq)\n"
121 "\tv: the joint velocity vector (size model.nv)\n"
122 "\ta: the joint acceleration vector (size model.nv)\n"
123 "\tfext: list of external forces expressed in the local frame of the joints (size "
125 "Returns: (dtau_dq, dtau_dv, dtau_da)\n",
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic, Options > MatrixXs
void computeRNEADerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType1 > &v, const Eigen::MatrixBase< TangentVectorType2 > &a, const Eigen::MatrixBase< MatrixType1 > &rnea_partial_dq, const Eigen::MatrixBase< MatrixType2 > &rnea_partial_dv, const Eigen::MatrixBase< MatrixType3 > &rnea_partial_da)
Computes the partial derivatives of the Recursive Newton Euler Algorithms with respect to the joint c...
void exposeRNEADerivatives()
ForceTpl< Scalar, Options > Force
bp::tuple computeRNEADerivatives(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &a)
void computeStaticTorqueDerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const container::aligned_vector< ForceTpl< Scalar, Options >> &fext, const Eigen::MatrixBase< ReturnMatrixType > &static_torque_partial_dq)
Computes the partial derivative of the generalized gravity and external forces contributions (a....
typedef PINOCCHIO_ALIGNED_STD_VECTOR(context::Force) ForceAlignedVector
context::VectorXs VectorXs
bp::tuple computeRNEADerivatives_fext(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &a, const ForceAlignedVector &fext)
void make_symmetric(const Eigen::MatrixBase< Matrix > &mat, const int mode=Eigen::Upper)
void computeGeneralizedGravityDerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< ReturnMatrixType > &gravity_partial_dq)
Computes the partial derivative of the generalized gravity contribution with respect to the joint con...
context::Data::MatrixXs computeGeneralizedGravityDerivatives(const context::Model &model, context::Data &data, const context::VectorXs &q)
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
context::Data::MatrixXs computeStaticTorqueDerivatives(const context::Model &model, context::Data &data, const context::VectorXs &q, const ForceAlignedVector &fext)
Eigen::Ref< Matrix > make_ref(const Eigen::PlainObjectBase< Matrix > &mat)
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Wed Apr 16 2025 02:41:46