Add persistent magnetometer calibration and docs

This commit is contained in:
Joshua Sacherer
2026-04-23 19:25:22 +02:00
parent bdd2b4315b
commit 38b7b64ba8
9 changed files with 701 additions and 65 deletions
+8 -4
View File
@@ -386,10 +386,14 @@ void baseInfoFeedback() {
jsonInfoHttp["L"] = speedGetA;
jsonInfoHttp["R"] = speedGetB;
jsonInfoHttp["r"] = icm_roll;
jsonInfoHttp["p"] = icm_pitch;
jsonInfoHttp["y"] = icm_yaw;
jsonInfoHttp["r"] = icm_roll;
jsonInfoHttp["p"] = icm_pitch;
jsonInfoHttp["y"] = icm_yaw;
jsonInfoHttp["magCal"] = imuHasHeadingCalibration() ? 1 : 0;
jsonInfoHttp["magSaved"] = imuHasStoredMagnCalibration() ? 1 : 0;
jsonInfoHttp["magCalRunning"] = imuIsMagnCalibrationRunning() ? 1 : 0;
jsonInfoHttp["magCalProgress"] = imuGetMagnCalibrationProgress();
// jsonInfoHttp["q0"] = qw;
// jsonInfoHttp["q1"] = qx;
// jsonInfoHttp["q2"] = qy;