#include <frc/StateSpaceUtil.h>
#include <algorithm>
#include <array>
#include "Eigen/Core"
#include "units/time.h"
Go to the source code of this file.
|
template<typename F , typename T > |
T | frc::RK4 (F &&f, T x, units::second_t dt) |
| Performs 4th order Runge-Kutta integration of dx/dt = f(x) for dt. More...
|
|
template<typename F , typename T , typename U > |
T | frc::RK4 (F &&f, T x, U u, units::second_t dt) |
| Performs 4th order Runge-Kutta integration of dx/dt = f(x, u) for dt. More...
|
|
template<typename F , typename T , typename U > |
T | frc::RKDP (F &&f, T x, U u, units::second_t dt, double maxError=1e-6) |
| Performs adaptive Dormand-Prince integration of dx/dt = f(x, u) for dt. More...
|
|