19template <
class ExplicitBase = context::ExplicitDynamics>
28 using ExplicitBase::ExplicitBase;
30 void forward(
const ConstVectorRef &x,
const ConstVectorRef &u,
35 void dForward(
const ConstVectorRef &x,
const ConstVectorRef &u,
46 return ExplicitBase::createData();
53namespace boost::python::objects {
56struct value_holder<aligator::python::PyExplicitDynamics<>>
57 : aligator::python::OwningNonOwningHolder<
58 aligator::python::PyExplicitDynamics<>> {
59 using OwningNonOwningHolder::OwningNonOwningHolder;
63struct value_holder<aligator::python::PyExplicitDynamics<
64 aligator::context::ExplicitIntegratorAbstract>>
65 : aligator::python::OwningNonOwningHolder<
66 aligator::python::PyExplicitDynamics<
67 aligator::context::ExplicitIntegratorAbstract>> {
68 using OwningNonOwningHolder::OwningNonOwningHolder;
#define ALIGATOR_PYTHON_OVERRIDE(ret_type, cname, fname,...)
Define the body of a virtual function override. This is meant to reduce boilerplate code when exposin...
#define ALIGATOR_PYTHON_OVERRIDE_PURE(ret_type, pyname,...)
Define the body of a virtual function override. This is meant to reduce boilerplate code when exposin...
Base definitions for explicit integrators.
DynamicsDataTpl< Scalar > DynamicsData
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
PolymorphicWrapper()=default
shared_ptr< DynamicsData > createData() const
void forward(const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const
Evaluate the forward discrete dynamics.
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
shared_ptr< DynamicsData > default_createData() const
ExplicitDynamicsDataTpl< Scalar > Data
void dForward(const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const
Compute the Jacobians of the forward dynamics.