mag: calibration: bump default earth field strength from 0.2 to 0.4 (#26528)

This commit is contained in:
Jacob Dahl 2026-02-19 15:32:40 -09:00 committed by GitHub
parent 245ae58264
commit d564c5b4c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ using namespace time_literals;
static constexpr char sensor_name[] {"mag"};
static constexpr int MAX_MAGS = 4;
static constexpr float MAG_SPHERE_RADIUS_DEFAULT = 0.2f;
static constexpr float MAG_SPHERE_RADIUS_DEFAULT = 0.4f;
static constexpr unsigned int calibration_total_points = 240; ///< The total points per magnetometer
static constexpr unsigned int calibraton_duration_s = 42; ///< The total duration the routine is allowed to take