From a8f1ead4f3fb99ef6cb92f69501739316d739575 Mon Sep 17 00:00:00 2001 From: Daniel Honies Date: Wed, 18 Dec 2024 11:05:58 +0400 Subject: [PATCH 1/2] Update 4401_ssrc_fog_x_tmotor mag0 prio Param should be set as default so it is changeable by user. Further I propose setting it to a lower priority than external one. This makes the drone usable without external mag but will still prioritize the external one if it is installed --- ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor b/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor index 8c51a35b4c4a..dc11de56fdd2 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor +++ b/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor @@ -79,7 +79,7 @@ param set-default BAT2_CAPACITY 22000 param set-default SENS_EN_LL40LS 2 # Disable internal magnetometer -param set CAL_MAG0_PRIO 0 +param set-default CAL_MAG0_PRIO 25 # LEDs on TELEMETRY 1 param set-default SER_TEL1_BAUD 57600 From 6651cc0b4abcdfbc4658c10564840ea09bb36cc8 Mon Sep 17 00:00:00 2001 From: Daniel Honies Date: Wed, 18 Dec 2024 10:39:48 +0000 Subject: [PATCH 2/2] change comment in 4401 airframe --- ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor b/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor index dc11de56fdd2..30ddb3a0dc37 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor +++ b/ROMFS/px4fmu_common/init.d/airframes/4401_ssrc_fog_x_tmotor @@ -78,7 +78,7 @@ param set-default BAT2_CAPACITY 22000 # Enable LL40LS in i2c param set-default SENS_EN_LL40LS 2 -# Disable internal magnetometer +# Low priority for internal magnetometer param set-default CAL_MAG0_PRIO 25 # LEDs on TELEMETRY 1