From b55ae09f004d5766cae75e8298b52efc14c8e1f9 Mon Sep 17 00:00:00 2001 From: Todd Colten Date: Wed, 21 Aug 2019 22:33:51 -0500 Subject: [PATCH] FW: set default RTL_TYPE = 1 for fixed wing This change adds the line "param set RTL_TYPE 1" to the default init scripts for fixed wing. Similar to the other PR that sets default RTL_TYPE=1 for VTOLs, RTL_TYPE=1 should be default for normal fixed wings as well. Reference: https://github.com/PX4/Firmware/pull/12746/files --- ROMFS/px4fmu_common/init.d/rc.fw_defaults | 1 + 1 file changed, 1 insertion(+) diff --git a/ROMFS/px4fmu_common/init.d/rc.fw_defaults b/ROMFS/px4fmu_common/init.d/rc.fw_defaults index 520f9eb37e..54a7179256 100644 --- a/ROMFS/px4fmu_common/init.d/rc.fw_defaults +++ b/ROMFS/px4fmu_common/init.d/rc.fw_defaults @@ -30,6 +30,7 @@ then param set EKF2_REQ_SACC 1 param set EKF2_REQ_VDRIFT 1.0 + param set RTL_TYPE 1 param set RTL_RETURN_ALT 100 param set RTL_DESCEND_ALT 100 param set RTL_LAND_DELAY -1