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
pull/1090/head
Darren Lines 4 years ago committed by GitHub
parent 2b3ebd4e86
commit 0b6e1907b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -229,6 +229,30 @@ helper.defaultsDialog = (function() {
key: "small_angle", key: "small_angle",
value: 180 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", key: "platform_type",
value: "AIRPLANE" value: "AIRPLANE"
@ -419,4 +443,4 @@ helper.defaultsDialog = (function() {
} }
return publicScope; return publicScope;
})(); })();

Loading…
Cancel
Save