sensors/vehicle_magnetometer: add SENS_MAG_AUTOCAL to enable initial auto cal

This commit is contained in:
Daniel Agar
2021-12-01 20:24:56 -05:00
parent 8fbf79527f
commit 2190f66096
3 changed files with 15 additions and 2 deletions
+12
View File
@@ -105,3 +105,15 @@ PARAM_DEFINE_FLOAT(SENS_MAG_RATE, 50.0f);
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_MAG_MODE, 1);
/**
* Magnetometer auto calibration
*
* Automatically initialize magnetometer calibration from bias estimate if available.
*
* @boolean
*
* @category system
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_MAG_AUTOCAL, 0);