|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
Classic 4th-order Runge-Kutta integrator. More...
#include <RK4Integrator.hpp>


Public Member Functions | |
| JanusVector< Scalar > | Step (const DerivativeFunc &f, const JanusVector< Scalar > &x, Scalar t, Scalar dt) override |
| Advance state by one step. | |
| std::string | Name () const override |
| Get integrator name for logging. | |
| int | Order () const override |
| Get integrator order (for error analysis). | |
| IntegratorType | Type () const override |
| Get integrator type. | |
| Public Member Functions inherited from icarus::Integrator< Scalar > | |
| virtual | ~Integrator ()=default |
| virtual bool | IsAdaptive () const |
| Check if integrator supports adaptive stepping. | |
Additional Inherited Members | |
| Public Types inherited from icarus::Integrator< Scalar > | |
| using | DerivativeFunc |
| Derivative function signature. | |
Classic 4th-order Runge-Kutta integrator.
Fixed-step method with 4 function evaluations per step. Wraps janus::rk4_step() for dual-mode compatibility.
Butcher Tableau:
| Scalar | Numeric type (double or casadi::MX) |
|
inlinenodiscardoverridevirtual |
Get integrator name for logging.
Implements icarus::Integrator< Scalar >.
|
inlinenodiscardoverridevirtual |
Get integrator order (for error analysis).
Implements icarus::Integrator< Scalar >.
|
inlineoverridevirtual |
Advance state by one step.
| f | Derivative function |
| x | Current state vector |
| t | Current time |
| dt | Requested time step |
Implements icarus::Integrator< Scalar >.
|
inlinenodiscardoverridevirtual |
Get integrator type.
Implements icarus::Integrator< Scalar >.