mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 15:33:33 +08:00
commander: make SYS_HAS_MAG a count param and ensure system has N calibrated + enabled mags
This commit is contained in:
@@ -192,13 +192,11 @@ PARAM_DEFINE_INT32(SYS_HAS_GPS, 1);
|
||||
/**
|
||||
* Control if the vehicle has a magnetometer
|
||||
*
|
||||
* Disable this if the board has no magnetometer, such as the Omnibus F4 SD.
|
||||
* If disabled, the preflight checks will not check for the presence of a
|
||||
* magnetometer.
|
||||
* Set this to 0 if the board has no magnetometer.
|
||||
* If set to 0, the preflight checks will not check for the presence of a
|
||||
* magnetometer, otherwise N sensors are required.
|
||||
*
|
||||
* @boolean
|
||||
* @reboot_required true
|
||||
*
|
||||
* @group System
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SYS_HAS_MAG, 1);
|
||||
|
||||
Reference in New Issue
Block a user