aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Continuous dynamics described by differential-algebraic equations (DAEs) \(F(\dot{x}, x, u) = 0\). More...
#include <aligator/modelling/dynamics/continuous-dynamics-abstract.hpp>
Public Types | |
using | Scalar = _Scalar |
using | Manifold = proxsuite::nlp::ManifoldAbstractTpl<Scalar> |
using | ManifoldPtr = xyz::polymorphic<Manifold> |
using | Data = ContinuousDynamicsDataTpl<Scalar> |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
int | ndx () const |
int | nu () const |
const Manifold & | space () const |
Return a reference to the state space. | |
ContinuousDynamicsAbstractTpl (ManifoldPtr space, const int nu) | |
virtual | ~ContinuousDynamicsAbstractTpl ()=default |
virtual void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &xdot, Data &data) const =0 |
Evaluate the vector field at a point \((x, u)\). | |
virtual void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &xdot, Data &data) const =0 |
Differentiate the vector field. | |
virtual shared_ptr< Data > | createData () const |
Create a data holder instance. | |
Public Attributes | |
ManifoldPtr | space_ |
State space. | |
const int | nu_ |
Control space dimension. | |
Continuous dynamics described by differential-algebraic equations (DAEs) \(F(\dot{x}, x, u) = 0\).
Continuous dynamics described as \( f(x, u, \dot{x}) = 0 \). The codimension of this function is the same as that of \(x\).
using aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::Scalar = _Scalar |
Definition at line 20 of file continuous-dynamics-abstract.hpp.
using aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::Manifold = proxsuite::nlp::ManifoldAbstractTpl<Scalar> |
Definition at line 22 of file continuous-dynamics-abstract.hpp.
using aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::ManifoldPtr = xyz::polymorphic<Manifold> |
Definition at line 23 of file continuous-dynamics-abstract.hpp.
using aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::Data = ContinuousDynamicsDataTpl<Scalar> |
Definition at line 24 of file continuous-dynamics-abstract.hpp.
aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::ContinuousDynamicsAbstractTpl | ( | ManifoldPtr | space, |
const int | nu ) |
|
virtualdefault |
aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inline |
Definition at line 31 of file continuous-dynamics-abstract.hpp.
|
inline |
Definition at line 32 of file continuous-dynamics-abstract.hpp.
|
inline |
Return a reference to the state space.
Definition at line 35 of file continuous-dynamics-abstract.hpp.
|
pure virtual |
Evaluate the vector field at a point \((x, u)\).
x | The input state variable. | |
u | The input control variable. | |
xdot | Derivative of the state. | |
[out] | data | The output data object. |
Implemented in aligator::python::PyContinuousDynamics< T >.
|
pure virtual |
Differentiate the vector field.
x | The input state variable. | |
u | The input control variable. | |
xdot | Derivative of the state. | |
[out] | data | The output data object. |
Implemented in aligator::python::PyContinuousDynamics< T >.
|
virtual |
Create a data holder instance.
Reimplemented in aligator::dynamics::CentroidalFwdDynamicsTpl< Scalar >, aligator::dynamics::ContinuousCentroidalFwdDynamicsTpl< Scalar >, aligator::dynamics::LinearODETpl< _Scalar >, aligator::dynamics::MultibodyConstraintFwdDynamicsTpl< _Scalar >, aligator::python::PyContinuousDynamics< T >, and aligator::python::PyODEAbstract< T >.
ManifoldPtr aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::space_ |
State space.
Definition at line 27 of file continuous-dynamics-abstract.hpp.
const int aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >::nu_ |
Control space dimension.
Definition at line 29 of file continuous-dynamics-abstract.hpp.