Go to the documentation of this file.
39 const ForceAlignedVector & fext)
63 using namespace Eigen;
67 "Computes the ABA derivatives, store the result in data.ddq_dq, data.ddq_dv and "
68 "data.Minv (aka ddq_dtau)\n"
69 "which correspond to the partial derivatives of the joint acceleration vector output "
70 "with respect to the joint configuration,\n"
71 "velocity and torque vectors.\n\n"
73 "\tmodel: model of the kinematic tree\n"
74 "\tdata: data related to the model\n"
75 "\tq: the joint configuration vector (size model.nq)\n"
76 "\tv: the joint velocity vector (size model.nv)\n"
77 "\ttau: the joint torque vector (size model.nv)\n\n"
78 "Returns: (ddq_dq, ddq_dv, ddq_da)",
83 bp::args(
"model",
"data",
"q",
"v",
"tau",
"fext"),
84 "Computes the ABA derivatives with external contact foces,\n"
85 "store the result in data.ddq_dq, data.ddq_dv and data.Minv (aka ddq_dtau)\n"
86 "which correspond to the partial derivatives of the acceleration output with respect "
87 "to the joint configuration,\n"
88 "velocity and torque vectors.\n\n"
90 "\tmodel: model of the kinematic tree\n"
91 "\tdata: data related to the model\n"
92 "\tq: the joint configuration vector (size model.nq)\n"
93 "\tv: the joint velocity vector (size model.nv)\n"
94 "\ttau: the joint torque vector (size model.nv)\n"
95 "\tfext: list of external forces expressed in the local frame of the joints (size "
97 "Returns: (ddq_dq, ddq_dv, ddq_da)",
102 "Computes the ABA derivatives, store the result in data.ddq_dq, data.ddq_dv and data.Minv\n"
103 "which correspond to the partial derivatives of the joint acceleration vector output with "
104 "respect to the joint configuration,\n"
105 "velocity and torque vectors.\n"
106 "By calling this function, the user assumes that pinocchio.optimized.aba has been called "
107 "first, allowing to significantly reduce the computation timings by not recalculating "
108 "intermediate results.",
113 "Computes the ABA derivatives, store the result in data.ddq_dq, data.ddq_dv and data.Minv\n"
114 "which correspond to the partial derivatives of the joint acceleration vector output with "
115 "respect to the joint configuration,\n"
116 "velocity and torque vectors.\n"
117 "By calling this function, the user assumes that pinocchio.optimized.aba has been called "
118 "first, allowing to significantly reduce the computation timings by not recalculating "
119 "intermediate results.",
bp::tuple computeABADerivatives_min_fext(const context::Model &model, context::Data &data, const ForceAlignedVector &fext)
bp::tuple computeABADerivatives_fext(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &tau, const ForceAlignedVector &fext)
ForceTpl< Scalar, Options > Force
typedef PINOCCHIO_ALIGNED_STD_VECTOR(context::Force) ForceAlignedVector
context::VectorXs VectorXs
void make_symmetric(const Eigen::MatrixBase< Matrix > &mat, const int mode=Eigen::Upper)
void exposeABADerivatives()
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
void computeABADerivatives(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 > &tau, const Eigen::MatrixBase< MatrixType1 > &aba_partial_dq, const Eigen::MatrixBase< MatrixType2 > &aba_partial_dv, const Eigen::MatrixBase< MatrixType3 > &aba_partial_dtau)
The derivatives of the Articulated-Body algorithm.
bp::tuple computeABADerivatives_min(const context::Model &model, context::Data &data)
bp::tuple computeABADerivatives(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &tau)
Eigen::Ref< Matrix > make_ref(const Eigen::PlainObjectBase< Matrix > &mat)
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Wed May 28 2025 02:41:18