aligator
0.16.0 A versatile and efficient C++ library for real-time constrained trajectory optimization. |
#include </build/source/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 |
| using | Data |
| using | Manifold |
| Public Types inherited from aligator::python::PolymorphicWrapper< PyDynamics< context::DynamicsModel >, context::DynamicsModel > | |
| using | PyBase |
| using | Base |
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 |
| Public Member Functions inherited from aligator::python::PolymorphicWrapper< PyDynamics< context::DynamicsModel >, context::DynamicsModel > | |
| PolymorphicWrapper ()=default | |
| PolymorphicWrapper & | operator= (const PolymorphicWrapper &o) |
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 22 of file dynamics.hpp.
| using aligator::python::PyDynamics< Base >::Scalar = typename Base::Scalar |
Definition at line 23 of file dynamics.hpp.
| using aligator::python::PyDynamics< Base >::Data = DynamicsDataTpl<Scalar> |
Definition at line 24 of file dynamics.hpp.
| aligator::python::PyDynamics< Base >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
| inlineoverridevirtual |
Implements aligator::DynamicsModelTpl< Scalar >.
Definition at line 28 of file dynamics.hpp.
| inlineoverridevirtual |
Implements aligator::DynamicsModelTpl< Scalar >.
Definition at line 33 of file dynamics.hpp.
| inlineoverridevirtual |
Reimplemented from aligator::DynamicsModelTpl< Scalar >.
Definition at line 39 of file dynamics.hpp.
| inlineoverridevirtual |
Reimplemented from aligator::DynamicsModelTpl< Scalar >.
Definition at line 48 of file dynamics.hpp.
| inline |
Definition at line 52 of file dynamics.hpp.