mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:53:33 +08:00
sensors/vehicle_magnetometer: add SENS_MAG_AUTOCAL to enable initial auto cal
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user