Skip to content

Commit 5e1e347

Browse files
committed
increase COM_ARM_MAG_ANG 35 -> 45 degrees
- in practice this is mostly useful for identifying incorrect rotations - handling a vehicle on the ground can easily disturb one mag by more than 30 degrees, so this is often distracting noise
1 parent 06b238d commit 5e1e347

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

ROMFS/px4fmu_common/init.d/airframes/4250_teal

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ then
4949
# sensor calibration
5050
param set CAL_MAG_SIDES 63
5151
param set SENS_BOARD_ROT 0
52-
param set COM_ARM_MAG_ANG -1
5352
param set COM_ARM_EKF_AB 0.0032
5453

5554
# circuit breakers

ROMFS/px4fmu_common/init.d/airframes/6002_draco_r

-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ then
9494
# DSHOT
9595
param set DSHOT_CONFIG 600
9696

97-
param set COM_ARM_MAG 0.2000
98-
9997
param set MIS_TAKEOFF_ALT 1.1000
10098

10199
#####################################

src/modules/commander/commander_params.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ PARAM_DEFINE_FLOAT(COM_ARM_IMU_GYR, 0.25f);
616616
* @min 3
617617
* @max 180
618618
*/
619-
PARAM_DEFINE_INT32(COM_ARM_MAG_ANG, 30);
619+
PARAM_DEFINE_INT32(COM_ARM_MAG_ANG, 45);
620620

621621
/**
622622
* Enable mag strength preflight check

0 commit comments

Comments
 (0)