Merge pull request #994 from iNavFlight/giacomo892_velned_cleanup

advanced tuning remove velned setting
pull/998/head
Paweł Spychalski 4 years ago committed by GitHub
commit 259aa38132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2332,12 +2332,6 @@
"gps_min_sats": { "gps_min_sats": {
"message": "Min. GPS satellites for a valid fix" "message": "Min. GPS satellites for a valid fix"
}, },
"use_gps_velned": {
"message": "Use GPS data for velocity calculation"
},
"use_gps_velned_help": {
"message": "Defined if iNav should use velocity data provided by GPS module for doing position and speed estimation. If set to OFF iNav will fallback to calculating velocity from GPS coordinates. Using native velocity data may improve performance on some GPS modules. Some GPS modules introduce significant delay and using native velocity may actually result in much worse performance."
},
"w_z_baro_p_help": { "w_z_baro_p_help": {
"message": "When this value is set to <strong>0</strong>, barometer is not used for altitude computation" "message": "When this value is set to <strong>0</strong>, barometer is not used for altitude computation"
}, },

@ -204,13 +204,6 @@
<span data-i18n="gps_min_sats"></span> <span data-i18n="gps_min_sats"></span>
</label> </label>
</div> </div>
<div class="checkbox">
<input type="checkbox" id="use_gps_velned" class="toggle" />
<label for="use_gps_velned">
<span data-i18n="use_gps_velned"></span>
</label>
<div class="helpicon cf_tip" data-i18n_title="use_gps_velned_help"></div>
</div>
</div> </div>
</div> </div>

@ -54,7 +54,6 @@ TABS.advanced_tuning.initialize = function (callback) {
var $userControlMode = $('#user-control-mode'), var $userControlMode = $('#user-control-mode'),
$useMidThrottle = $("#use-mid-throttle"), $useMidThrottle = $("#use-mid-throttle"),
$useGpsVelned = $('#use_gps_velned'),
$rthClimbFirst = $('#rth-climb-first'), $rthClimbFirst = $('#rth-climb-first'),
$rthClimbIgnoreEmergency = $('#rthClimbIgnoreEmergency'), $rthClimbIgnoreEmergency = $('#rthClimbIgnoreEmergency'),
$rthTailFirst = $('#rthTailFirst'), $rthTailFirst = $('#rthTailFirst'),
@ -118,16 +117,6 @@ TABS.advanced_tuning.initialize = function (callback) {
}); });
$useMidThrottle.change(); $useMidThrottle.change();
$useGpsVelned.prop("checked", POSITION_ESTIMATOR.use_gps_velned);
$useGpsVelned.change(function () {
if ($(this).is(":checked")) {
POSITION_ESTIMATOR.use_gps_velned = 1;
} else {
POSITION_ESTIMATOR.use_gps_velned = 0;
}
});
$useGpsVelned.change();
GUI.simpleBind(); GUI.simpleBind();
localize(); localize();

Loading…
Cancel
Save