From 0c259e13035ceedf7135d4d8e741b13ef5b8eb0d Mon Sep 17 00:00:00 2001 From: giacomo892 Date: Thu, 14 May 2020 14:43:51 +0200 Subject: [PATCH] velned cleanup --- _locales/en/messages.json | 6 ------ tabs/advanced_tuning.html | 7 ------- tabs/advanced_tuning.js | 11 ----------- 3 files changed, 24 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d33ca44f..f6a01446 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -2332,12 +2332,6 @@ "gps_min_sats": { "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": { "message": "When this value is set to 0, barometer is not used for altitude computation" }, diff --git a/tabs/advanced_tuning.html b/tabs/advanced_tuning.html index 217f9380..fb52530f 100644 --- a/tabs/advanced_tuning.html +++ b/tabs/advanced_tuning.html @@ -204,13 +204,6 @@ -
- - -
-
diff --git a/tabs/advanced_tuning.js b/tabs/advanced_tuning.js index c9aab59d..79ac3700 100644 --- a/tabs/advanced_tuning.js +++ b/tabs/advanced_tuning.js @@ -54,7 +54,6 @@ TABS.advanced_tuning.initialize = function (callback) { var $userControlMode = $('#user-control-mode'), $useMidThrottle = $("#use-mid-throttle"), - $useGpsVelned = $('#use_gps_velned'), $rthClimbFirst = $('#rth-climb-first'), $rthClimbIgnoreEmergency = $('#rthClimbIgnoreEmergency'), $rthTailFirst = $('#rthTailFirst'), @@ -118,16 +117,6 @@ TABS.advanced_tuning.initialize = function (callback) { }); $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(); localize();