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"
Defines a class representing ODEs.
Eigen::Matrix< Scalar, 3, 3 > Matrix3s
CentroidalFwdDataTpl(const CentroidalFwdDynamicsTpl< Scalar > *cont_dyn)
Nonlinear centroidal forward dynamics.
const Manifold & space() const
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
void dForward(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
Evaluate the vector field Jacobians.
Eigen::Matrix< Scalar, 3, 3 > Matrix3s
shared_ptr< ContDataAbstract > createData() const
Create a data holder instance.
proxsuite::nlp::VectorSpaceTpl< Scalar > Manifold
CentroidalFwdDynamicsTpl(const Manifold &state, const double mass, const Vector3s &gravity, const ContactMap &contact_map, const int force_size)
void forward(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
Evaluate the ODE vector field: this returns the value of .
Data struct for ContinuousDynamicsAbstractTpl.
Base class for ODE dynamics .
const int nu_
Control space dimension.