Unverified Commit 3eb1a9a4 authored by Paweł Spychalski's avatar Paweł Spychalski Committed by GitHub
Browse files

Merge pull request #1232 from iNavFlight/avs-add-navigation-settings

Add navigation settings
parents 68346fdb 4ed90d5a
......@@ -2446,6 +2446,12 @@
"posholdHoverMidThrottle": {
"message": "Use mid. throttle for ALTHOLD"
},
"mcWpSlowdown": {
"message": "Slow down when approaching waypoint"
},
"mcWpSlowdownHelp": {
"message": "When enabled, NAV engine will slow down when switching to the next waypoint. This prioritizes turning over forward movement. When disabled, NAV engine will continue to the next waypoint and turn as it goes."
},
"positionEstimatorConfiguration": {
"message": "Position Estimator"
},
......@@ -2491,9 +2497,18 @@
"rthClimbFirst": {
"message": "Climb before RTH"
},
"rthClimbFirstHelp": {
"message": "If set to ON or ON_FW_SPIRAL, aircraft will climb to nav_rth_altitude first before turning to head home. If set to OFF, aircraft will turn and head home immediately climbing on the way. For a fixed wing, ON will use a linear climb, ON_FW_SPIRAL will use a loiter turning climb with climb rate set by nav_auto_climb_rate and turn rate set by nav_fw_loiter_radius (ON_FW_SPIRAL is a fixed wing setting and behaves the same as ON for a multirotor)."
},
"rthClimbIgnoreEmergency": {
"message": "Climb regardless of position sensors health"
},
"rthAltControlOverride": {
"message": "Override RTH altitude and climb setting with roll/pitch stick"
},
"rthAltControlOverrideHELP": {
"message": "When enabled, the climb on RTH can be canceled by holding full pitch down for >1 second so aircraft will fly home at the current altitude. On fixed wing aircraft, the 'Climb before RTH' setting can be overriden by holding full roll left or right for >1 second so that the plane will turn towards home immediately."
},
"rthTailFirst": {
"message": "Tail first"
},
......
......@@ -236,6 +236,11 @@
<input id="hover-throttle" type="number" data-setting="nav_mc_hover_thr" data-setting-multiplier="1" step="1" min="1000" max="2000" />
<label for="hover-throttle"><span data-i18n="posholdHoverThrottle"></span></label>
</div>
<div class="checkbox">
<input id="wp-slowdown" type="checkbox" class="toggle update_preview" data-setting="nav_mc_wp_slowdown" data-live="true" />
<label for="wp-slowdown"><span data-i18n="mcWpSlowdown"></span></label>
<div class="helpicon cf_tip" data-i18n_title="mcWpSlowdownHelp"></div>
</div>
</div>
</div>
</div> <!-- left wrapper -->
......@@ -330,15 +335,22 @@
<div class="helpicon cf_tip" data-i18n_title="rthHomeAltitudeHelp"></div>
</div>
<div class="checkbox">
<input type="checkbox" class="toggle update_preview" id="rth-climb-first" data-setting="nav_rth_climb_first" data-live="true" />
<div class="select">
<select id="rth-climb-first" data-setting="nav_rth_climb_first"></select>
<label for="rth-climb-first"><span data-i18n="rthClimbFirst"></span></label>
<div class="helpicon cf_tip" data-i18n_title="rthClimbFirstHelp"></div>
</div>
<div class="checkbox">
<input type="checkbox" class="toggle update_preview" id="rthClimbIgnoreEmergency" data-setting="nav_rth_climb_ignore_emerg" data-live="true" />
<label for="rthClimbIgnoreEmergency"><span data-i18n="rthClimbIgnoreEmergency"></span></label>
</div>
<div class="checkbox">
<input type="checkbox" class="toggle update_preview" id="rthAltControlOverride" data-setting="nav_rth_alt_control_override" data-live="true" />
<label for="rthAltControlOverride"><span data-i18n="rthAltControlOverride"></span></label>
<div class="helpicon cf_tip" data-i18n_title="rthAltControlOverrideHelp"></div>
</div>
<div class="checkbox notFixedWingTuning">
<input type="checkbox" class="toggle update_preview" id="rthTailFirst" data-setting="nav_rth_tail_first" data-live="true" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment