7#include <proxsuite-nlp/modelling/spaces/vector-space.hpp>
23template <
typename _Scalar>
25 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
32 using Manifold = proxsuite::nlp::VectorSpaceTpl<Scalar>;
48 const Vector3s &gravity,
49 const ContactMap &contact_map,
const int force_size);
51 void forward(
const ConstVectorRef &x,
const ConstVectorRef &u,
53 void dForward(
const ConstVectorRef &x,
const ConstVectorRef &u,
59template <
typename Scalar>
72#include "aligator/modelling/dynamics/centroidal-fwd.hxx"
Namespace for modelling system dynamics.
Defines a class representing ODEs.
Eigen::Matrix< Scalar, 3, 3 > Matrix3s
CentroidalFwdDataTpl(const CentroidalFwdDynamicsTpl< Scalar > *cont_dyn)
ContinuousDynamicsDataTpl< Scalar > Base
Nonlinear centroidal forward dynamics.
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
CentroidalFwdDynamicsTpl(const Manifold &state, const double mass, const Vector3s &gravity, const ContactMap &contact_map, const int force_size)
void dForward(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
Evaluate the vector field Jacobians.
ContinuousDynamicsDataTpl< Scalar > BaseData
const Manifold & space() const
void forward(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
Evaluate the ODE vector field: this returns the value of .
shared_ptr< ContDataAbstract > createData() const
Create a data holder instance.
proxsuite::nlp::VectorSpaceTpl< Scalar > Manifold
CentroidalFwdDataTpl< Scalar > Data
ContactMapTpl< Scalar > ContactMap
ODEAbstractTpl< Scalar > Base
Eigen::Matrix< Scalar, 3, 3 > Matrix3s
ContinuousDynamicsDataTpl< Scalar > ContDataAbstract
Data struct for ContinuousDynamicsAbstractTpl.
ContinuousDynamicsDataTpl(const int ndx, const int nu)
Base class for ODE dynamics .