Go to the documentation of this file.
103 using namespace Eigen;
107 (bp::arg(
"model"), bp::arg(
"data"), bp::arg(
"q"), bp::arg(
"v"), bp::arg(
"tau"),
108 bp::arg(
"constraint_jacobian"), bp::arg(
"constraint_drift"), bp::arg(
"damping") = 0),
109 "Solves the constrained dynamics problem with contacts, puts the result in "
110 "context::Data::ddq and return it. The contact forces are stored in data.lambda_c.\n"
111 "Note: internally, pinocchio.computeAllTerms is called.");
115 (bp::arg(
"model"), bp::arg(
"data"), bp::arg(
"tau"), bp::arg(
"constraint_jacobian"),
116 bp::arg(
"constraint_drift"), bp::arg(
"damping") = 0),
117 "Solves the forward dynamics problem with contacts, puts the result in "
118 "context::Data::ddq and return it. The contact forces are stored in data.lambda_c.\n"
119 "Note: this function assumes that pinocchio.computeAllTerms has been called first.");
123 (bp::arg(
"model"), bp::arg(
"data"), bp::arg(
"q"), bp::arg(
"v_before"),
124 bp::arg(
"constraint_jacobian"), bp::arg(
"restitution_coefficient") = 0,
125 bp::arg(
"damping") = 0),
126 "Solves the impact dynamics problem with contacts, store the result in "
127 "context::Data::dq_after and return it. The contact impulses are stored in "
129 "Note: internally, pinocchio.crba is called.");
133 (bp::arg(
"model"), bp::arg(
"data"), bp::arg(
"v_before"), bp::arg(
"constraint_jacobian"),
134 bp::arg(
"restitution_coefficient") = 0, bp::arg(
"damping") = 0),
135 "Solves the impact dynamics problem with contacts, store the result in "
136 "context::Data::dq_after and return it. The contact impulses are stored in "
138 "Note: this function assumes that pinocchio.crba has been called first.");
142 (bp::arg(
"model"), bp::arg(
"data"), bp::arg(
"q"), bp::arg(
"constraint_jacobian"),
143 bp::arg(
"damping") = 0),
144 "Computes the inverse of the constraint matrix [[M J^T], [J 0]].");
148 bp::args(
"model",
"data",
"constraint_jacobian"),
149 "Computes the inverse of the constraint matrix [[M Jt], [J 0]].\n forwardDynamics or "
150 "impulseDynamics must have been called first.\n"
151 "Note: the constraint Jacobian should be the same that was provided to "
152 "forwardDynamics or impulseDynamics.");
PINOCCHIO_DEPRECATED void getKKTContactDynamicMatrixInverse(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConstraintMatrixType > &J, const Eigen::MatrixBase< KKTMatrixType > &KKTMatrix_inv)
Computes the inverse of the KKT matrix for dynamics with contact constraints.
static const context::MatrixXs getKKTContactDynamicMatrixInverse_proxy(const context::Model &model, context::Data &data, const context::MatrixXs &J)
static const context::VectorXs forwardDynamics_proxy_no_q(const context::Model &model, context::Data &data, const context::VectorXs &tau, const context::MatrixXs &J, const context::VectorXs &gamma, const context::Scalar inv_damping=context::Scalar(0.0))
void exposeContactDynamics()
static const context::VectorXs impulseDynamics_proxy_no_q(const context::Model &model, context::Data &data, const context::VectorXs &v_before, const context::MatrixXs &J, const context::Scalar r_coeff=context::Scalar(0.), const context::Scalar inv_damping=context::Scalar(0.))
static const context::VectorXs impulseDynamics_proxy(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v_before, const context::MatrixXs &J, const context::Scalar r_coeff=context::Scalar(0.), const context::Scalar inv_damping=context::Scalar(0.))
#define PINOCCHIO_COMPILER_DIAGNOSTIC_POP
void computeKKTContactDynamicMatrixInverse(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< ConstraintMatrixType > &J, const Eigen::MatrixBase< KKTMatrixType > &KKTMatrix_inv, const Scalar &inv_damping=0.)
Computes the inverse of the KKT matrix for dynamics with contact constraints. It computes the followi...
Eigen::Matrix< Scalar, Eigen::Dynamic, 1, Options > VectorXs
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic, Options > MatrixXs
static context::MatrixXs computeKKTContactDynamicMatrixInverse_proxy(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::MatrixXs &J, const context::Scalar mu=context::Scalar(0))
const PINOCCHIO_DEPRECATED DataTpl< Scalar, Options, JointCollectionTpl >::TangentVectorType & forwardDynamics(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< ConstraintMatrixType > &J, const Eigen::MatrixBase< DriftVectorType > &gamma, const Scalar inv_damping=0.)
Compute the forward dynamics with contact constraints. Internally, pinocchio::computeAllTerms is call...
#define PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS
#define PINOCCHIO_COMPILER_DIAGNOSTIC_PUSH
macros for pragma push/pop/ignore deprecated warnings
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
static const context::VectorXs forwardDynamics_proxy(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &tau, const context::MatrixXs &J, const context::VectorXs &gamma, const context::Scalar inv_damping=context::Scalar(0.0))
const PINOCCHIO_DEPRECATED DataTpl< Scalar, Options, JointCollectionTpl >::TangentVectorType & impulseDynamics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v_before, const Eigen::MatrixBase< ConstraintMatrixType > &J, const Scalar r_coeff=0., const Scalar inv_damping=0.)
Compute the impulse dynamics with contact constraints. Internally, pinocchio::crba is called.
PINOCCHIO_PYTHON_SCALAR_TYPE Scalar
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:29