Open calcmogul opened 1 month ago
This issue is a spin-off of https://github.com/wpilibsuite/allwpilib/issues/4373.
The Tsitouras 5th order integration method is 3x more accurate than Dormand-Prince (RKDP). It uses the exact same algorithm with different coefficients.
Section 7.9 of Controls Engineering in FRC has an introduction to the notation of Runge-Kutta methods.
Here's the paper to implement: http://users.uoa.gr/~tsitourasc/RK54_new_v2.pdf
Here's the implementation steps:
If RKDP usages are replaced, should it be deprecated, or are there any other use cases for it?
RKDP should be deprecated since Tsit5 is superior in every way.
This issue is a spin-off of https://github.com/wpilibsuite/allwpilib/issues/4373.
The Tsitouras 5th order integration method is 3x more accurate than Dormand-Prince (RKDP). It uses the exact same algorithm with different coefficients.
Section 7.9 of Controls Engineering in FRC has an introduction to the notation of Runge-Kutta methods.
Here's the paper to implement: http://users.uoa.gr/~tsitourasc/RK54_new_v2.pdf
Here's the implementation steps: