aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
#include </home/runner/work/aligator/aligator/bindings/python/include/aligator/python/dynamics.hpp>
Public Types | |
using | Scalar = typename Base::Scalar |
using | Data = DynamicsDataTpl<Scalar> |
Public Types inherited from aligator::DynamicsModelTpl< Scalar > | |
using | Scalar = _Scalar |
using | Data = DynamicsDataTpl<Scalar> |
using | Manifold = ManifoldAbstractTpl<Scalar> |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &y, Data &data) const override |
void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &y, Data &data) const override |
void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &y, const ConstVectorRef &lbda, Data &data) const override |
shared_ptr< Data > | createData () const override |
shared_ptr< Data > | default_createData () const |
Public Member Functions inherited from aligator::DynamicsModelTpl< Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
const Manifold & | space () const |
State space for the input. | |
const Manifold & | space_next () const |
State space for the output of this dynamics model. | |
virtual bool | isExplicit () const |
Check if this dynamics model is implicit or explicit. | |
int | nx1 () const |
int | nx2 () const |
DynamicsModelTpl (xyz::polymorphic< Manifold > space, const int nu) | |
Constructor for dynamics. | |
DynamicsModelTpl (xyz::polymorphic< Manifold > space, const int nu, xyz::polymorphic< Manifold > space_next) | |
Constructor for dynamics. This constructor assumes same dimension for the current and next state. | |
virtual | ~DynamicsModelTpl ()=default |
Additional Inherited Members | |
Public Attributes inherited from aligator::DynamicsModelTpl< Scalar > | |
xyz::polymorphic< Manifold > | space_ |
State space for the input. | |
xyz::polymorphic< Manifold > | space_next_ |
State space for the output of this dynamics model. | |
const int | ndx1 |
State space dimension. | |
const int | nu |
Control dimension. | |
const int | ndx2 |
Next state space dimension. | |
Wrapper for the StageFunction class and any virtual children that avoids having to redeclare Python overrides for these children.
This implements the "trampoline" technique from Pybind11's docs: https://pybind11.readthedocs.io/en/stable/advanced/classes.html#combining-virtual-functions-and-inheritance
FunctionBase | The virtual class to expose. |
Definition at line 26 of file dynamics.hpp.
using aligator::python::PyDynamics< Base >::Scalar = typename Base::Scalar |
Definition at line 29 of file dynamics.hpp.
using aligator::python::PyDynamics< Base >::Data = DynamicsDataTpl<Scalar> |
Definition at line 30 of file dynamics.hpp.
aligator::python::PyDynamics< Base >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inlineoverridevirtual |
Implements aligator::DynamicsModelTpl< Scalar >.
Definition at line 34 of file dynamics.hpp.
|
inlineoverridevirtual |
Implements aligator::DynamicsModelTpl< Scalar >.
Definition at line 39 of file dynamics.hpp.
|
inlineoverridevirtual |
Reimplemented from aligator::DynamicsModelTpl< Scalar >.
Definition at line 45 of file dynamics.hpp.
|
inlineoverridevirtual |
Reimplemented from aligator::DynamicsModelTpl< Scalar >.
Definition at line 54 of file dynamics.hpp.
|
inline |
Definition at line 58 of file dynamics.hpp.