blob: 148fcc4e927391cdde2252057daa68a8ad786f13 [file] [log] [blame]
James Kuszmaula60aee12024-02-02 22:57:47 -08001#ifndef FRC971_IMU_IMU_CALIBRATOR_SOLVER_H_
2#define FRC971_IMU_IMU_CALIBRATOR_SOLVER_H_
3
4#include "frc971/imu/imu_calibrator.h"
5
6namespace frc971::imu {
7
8// Stores all the IMU data from a log so that we can feed it into the
9// ImuCalibrator readily.
10AllParameters<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_