|
| 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 |
|
| 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 |
|
template<class Base = context::DynamicsModel>
struct aligator::python::PyDynamics< Base >
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
- Template Parameters
-
FunctionBase | The virtual class to expose. |
Definition at line 26 of file dynamics.hpp.