23#ifndef UTILS_FORWARD_EULER_HPP
24#define UTILS_FORWARD_EULER_HPP
44 int16
step(floating_point start_time,
45 floating_point end_time,
46 const std::array<floating_point, N> &start_state,
47 std::array<floating_point, N> &out_state)
override;
55 std::array<floating_point, N>
_rates;
62 for(uint32 i = 0; i < N; i++) {
69 const std::array<floating_point, N> &start_state,
70 std::array<floating_point, N> &out_state) {
76 for(uint32 i = 0; i < N; i++) {
int16 _error
Error code.
Definition ForwardEulerIntegrator.hpp:53
std::array< floating_point, N > _rates
Definition ForwardEulerIntegrator.hpp:55
int16 step(floating_point start_time, floating_point end_time, const std::array< floating_point, N > &start_state, std::array< floating_point, N > &out_state) override
Definition ForwardEulerIntegrator.hpp:68
ForwardEulerIntegrator(Rates< N > &rate_calculator)
Definition ForwardEulerIntegrator.hpp:59
floating_point _step_size
Step size for integrator.
Definition ForwardEulerIntegrator.hpp:50
Integrator(Rates< N > &rate_calculator)
Constructor for the integrator.
Definition Integrator.hpp:60
Rates< N > & _rate_calculator
Reference to dynamics object that calculates rates.
Definition Integrator.hpp:56
#define NO_ERROR
Error code in the case where matrix math executed successfully.
Definition clockwerkerrors.h:34
Definition DeadReckon.cpp:20