James Kuszmaul | a60aee1 | 2024-02-02 22:57:47 -0800 | [diff] [blame] | 1 | #ifndef FRC971_IMU_IMU_CALIBRATOR_SOLVER_H_ |
| 2 | #define FRC971_IMU_IMU_CALIBRATOR_SOLVER_H_ |
| 3 | |
| 4 | #include "frc971/imu/imu_calibrator.h" |
| 5 | |
| 6 | namespace frc971::imu { |
| 7 | |
| 8 | // Stores all the IMU data from a log so that we can feed it into the |
| 9 | // ImuCalibrator readily. |
| 10 | AllParameters<double> Solve( |
| 11 | const std::vector<std::vector<RawImuReading>> &readings, |
| 12 | const std::vector<ImuConfig<double>> &nominal_config); |
| 13 | } // namespace frc971::imu |
| 14 | #endif // FRC971_IMU_IMU_CALIBRATOR_SOLVER_H_ |