Tyler Veness
3a1194be40
Replace static_cast<void>() with [[maybe_unused]] attribute ( #5892 )
...
This clarifies intent. Not done for thirdparty libraries or
structured binding variables.
2023-11-08 12:47:23 -08:00
Tyler Veness
8e2a7fd306
Include thirdparty libraries with angle brackets ( #5578 )
2023-08-28 15:13:34 -07:00
Tyler Veness
ebd2a303bf
[wpimath] Remove deprecated MakeMatrix() function ( #4202 )
2022-04-30 22:52:05 -07:00
Peter Johnson
e767605e94
[wpimath] Add typedefs for common types
...
This makes complex code significantly easier to read.
frc::Vectord<Size> = Eigen::Vector<double, Size>
frc::Matrixd<Rows, Cols> = Eigen::Matrix<double, Rows, Cols>
2022-04-30 20:38:55 -07:00
Tyler Veness
a939cd9c89
[wpimath] Print uncontrollable/unobservable models in LQR and KF ( #3694 )
...
IsDetectable() was added to make the code easier to read.
2021-10-29 00:03:02 -07:00
Tyler Veness
d5270d113b
[wpimath] Clean up C++ StateSpaceUtil tests ( #3692 )
2021-10-29 00:02:03 -07:00
Tyler Veness
9359431bad
[wpimath] Clean up Eigen usage
...
* Replace Matrix<> with Vector<> where vectors are explicitly intended.
I found these via `rg "Eigen::Matrix<double, \w+, 1>"`.
* Pass all Eigen matrices by const reference. I found these via `rg
"\(Eigen"` on main (the initializer list constructors make more false
positives).
* Replace MakeMatrix() and operator<< usage with initializer list
constructors. I found these via `rg MakeMatrix` and `rg "<<"`
respectively.
* Deprecate MakeMatrix()
2021-09-17 12:12:19 -07:00
Matt
85a0bd43c2
[wpimath] Add RKF45 integration ( #3047 )
...
This is more stable than Runge-Kutta for systems with large elements in their A or B matrices.
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2021-01-06 21:40:25 -08:00
Peter Johnson
8f1f64ffb6
Remove year from file copyright message (NFC) ( #2972 )
...
Also update copyright to include "and other WPILib contributors" and clarify
license referral language to not be restricted to FIRST teams.
2020-12-26 14:12:05 -08:00
Matt
3b283ab9aa
[wpimath] Add core State-space classes ( #2614 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
Co-authored-by: Claudius Tewari <cttewari@gmail.com >
Co-authored-by: Declan Freeman-Gleason <declanfreemangleason@gmail.com >
2020-08-14 23:40:33 -07:00