mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:33:33 +08:00
sensors : require reboot for all sensor orientation changes
This commit is contained in:
committed by
Lorenz Meier
parent
62b7645130
commit
49890c61f5
@@ -153,6 +153,7 @@ PARAM_DEFINE_INT32(CAL_MAG0_ID, 0);
|
||||
*
|
||||
* @min -1
|
||||
* @max 30
|
||||
* @reboot_required true
|
||||
* @group Sensor Calibration
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CAL_MAG0_ROT, -1);
|
||||
@@ -359,6 +360,7 @@ PARAM_DEFINE_INT32(CAL_MAG1_ID, 0);
|
||||
*
|
||||
* @min -1
|
||||
* @max 30
|
||||
* @reboot_required true
|
||||
* @group Sensor Calibration
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CAL_MAG1_ROT, -1);
|
||||
@@ -565,6 +567,7 @@ PARAM_DEFINE_INT32(CAL_MAG2_ID, 0);
|
||||
*
|
||||
* @min -1
|
||||
* @max 30
|
||||
* @reboot_required true
|
||||
* @group Sensor Calibration
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CAL_MAG2_ROT, -1);
|
||||
@@ -710,6 +713,7 @@ PARAM_DEFINE_INT32(CAL_MAG3_ID, 0);
|
||||
*
|
||||
* @min -1
|
||||
* @max 30
|
||||
* @reboot_required true
|
||||
* @group Sensor Calibration
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CAL_MAG3_ROT, -1);
|
||||
@@ -876,6 +880,8 @@ PARAM_DEFINE_FLOAT(SENS_BARO_QNH, 1013.25f);
|
||||
* @value 24 Pitch 90°
|
||||
* @value 25 Pitch 270°
|
||||
*
|
||||
* @reboot_required true
|
||||
*
|
||||
* @group Sensor Calibration
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SENS_BOARD_ROT, 0);
|
||||
|
||||
Reference in New Issue
Block a user