aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::python::PyContinuousDynamics< T > Struct Template Referencefinal

#include </home/runner/work/aligator/aligator/bindings/python/include/aligator/python/modelling/continuous.hpp>

Inheritance diagram for aligator::python::PyContinuousDynamics< T >:
[legend]
Collaboration diagram for aligator::python::PyContinuousDynamics< T >:
[legend]

Public Types

using Data = context::ContinuousDynamicsData
 
- Public Types inherited from aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >
using Scalar = _Scalar
 
using Manifold = proxsuite::nlp::ManifoldAbstractTpl<Scalar>
 
using ManifoldPtr = xyz::polymorphic<Manifold>
 
using Data = ContinuousDynamicsDataTpl<Scalar>
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (context::Scalar)
 
void evaluate (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &xdot, Data &data) const override
 Evaluate the vector field at a point \((x, u)\).
 
void computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &xdot, Data &data) const override
 Differentiate the vector field.
 
shared_ptr< DatacreateData () const override
 Create a data holder instance.
 
shared_ptr< Datadefault_createData () const
 
- Public Member Functions inherited from aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
int ndx () const
 
int nu () const
 
const Manifoldspace () const
 Return a reference to the state space.
 
 ContinuousDynamicsAbstractTpl (ManifoldPtr space, const int nu)
 
virtual ~ContinuousDynamicsAbstractTpl ()=default
 

Additional Inherited Members

- Public Attributes inherited from aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >
ManifoldPtr space_
 State space.
 
const int nu_
 Control space dimension.
 

Detailed Description

template<class T = context::ContinuousDynamicsAbstract>
struct aligator::python::PyContinuousDynamics< T >

Definition at line 17 of file continuous.hpp.

Member Typedef Documentation

◆ Data

template<class T = context::ContinuousDynamicsAbstract>
using aligator::python::PyContinuousDynamics< T >::Data = context::ContinuousDynamicsData

Definition at line 20 of file continuous.hpp.

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

template<class T = context::ContinuousDynamicsAbstract>
aligator::python::PyContinuousDynamics< T >::ALIGATOR_DYNAMIC_TYPEDEFS ( context::Scalar )

◆ evaluate()

template<class T = context::ContinuousDynamicsAbstract>
void aligator::python::PyContinuousDynamics< T >::evaluate ( const ConstVectorRef & x,
const ConstVectorRef & u,
const ConstVectorRef & xdot,
Data & data ) const
inlineoverridevirtual

Evaluate the vector field at a point \((x, u)\).

Parameters
xThe input state variable.
uThe input control variable.
xdotDerivative of the state.
[out]dataThe output data object.

Implements aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >.

Definition at line 24 of file continuous.hpp.

◆ computeJacobians()

template<class T = context::ContinuousDynamicsAbstract>
void aligator::python::PyContinuousDynamics< T >::computeJacobians ( const ConstVectorRef & x,
const ConstVectorRef & u,
const ConstVectorRef & xdot,
Data & data ) const
inlineoverridevirtual

Differentiate the vector field.

Parameters
xThe input state variable.
uThe input control variable.
xdotDerivative of the state.
[out]dataThe output data object.

Implements aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >.

Definition at line 30 of file continuous.hpp.

◆ createData()

template<class T = context::ContinuousDynamicsAbstract>
shared_ptr< Data > aligator::python::PyContinuousDynamics< T >::createData ( ) const
inlineoverridevirtual

Create a data holder instance.

Reimplemented from aligator::dynamics::ContinuousDynamicsAbstractTpl< Scalar >.

Definition at line 36 of file continuous.hpp.

◆ default_createData()

template<class T = context::ContinuousDynamicsAbstract>
shared_ptr< Data > aligator::python::PyContinuousDynamics< T >::default_createData ( ) const
inline

Definition at line 40 of file continuous.hpp.


The documentation for this struct was generated from the following file: