From 0b6e1907b8e0c3b73dfebe8b7a5405e53c03652d Mon Sep 17 00:00:00 2001 From: Darren Lines Date: Sun, 25 Oct 2020 00:33:25 +0100 Subject: [PATCH] Update defaults_dialog.js Added some of the defaults suggested in issue #1028. I omitted setting RTH to turn first, as most prefer climb first. I omitted disabling permanent airmode as the reason for disabling it has been fixed in 2.6 I omitted enabling motors as servos by default for safety --- js/defaults_dialog.js | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/js/defaults_dialog.js b/js/defaults_dialog.js index c20ffaca..2a760693 100644 --- a/js/defaults_dialog.js +++ b/js/defaults_dialog.js @@ -229,6 +229,30 @@ helper.defaultsDialog = (function() { key: "small_angle", value: 180 }, + { + key: "nav_fw_control_smoothness", + value: 2 + }, + { + key: "failsafe_procedure", + value: "RTH" + }, + { + key: "nav_rth_allow_landing", + value: "NEVER" + }, + { + key: "nav_rth_altitude", + value: 5000 + }, + { + key: "failsafe_mission", + value: "OFF" + }, + { + key: "nav_wp_radius", + value: 3000 + }, { key: "platform_type", value: "AIRPLANE" @@ -419,4 +443,4 @@ helper.defaultsDialog = (function() { } return publicScope; -})(); \ No newline at end of file +})();