aligator  0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
integrator-euler.hpp
Go to the documentation of this file.
1#pragma once
5
7
8namespace aligator {
9namespace dynamics {
13template <typename _Scalar>
15 using Scalar = _Scalar;
20
23
24 IntegratorEulerTpl(const xyz::polymorphic<ODEType> &cont_dynamics,
25 const Scalar timestep);
26
27 void forward(const ConstVectorRef &x, const ConstVectorRef &u,
29
30 void dForward(const ConstVectorRef &x, const ConstVectorRef &u,
32};
33
34#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
35extern template struct IntegratorEulerTpl<context::Scalar>;
36#endif
37
38} // namespace dynamics
39} // namespace aligator
Base definitions for explicit integrators.
Main package namespace.
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
Definition fwd.hpp:83
void forward(const ConstVectorRef &x, const ConstVectorRef &u, ExplicitDynamicsDataTpl< Scalar > &data) const
Evaluate the forward discrete dynamics.
IntegratorEulerTpl(const xyz::polymorphic< ODEType > &cont_dynamics, const Scalar timestep)
Scalar timestep_
Integration time step .
void dForward(const ConstVectorRef &x, const ConstVectorRef &u, ExplicitDynamicsDataTpl< Scalar > &data) const
Compute the Jacobians of the forward dynamics.
Base class for ODE dynamics .