mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 00:05:19 +03:00
Merge branch 'master' of https://github.com/iNavFlight/inav-configurator
This commit is contained in:
commit
676b1ba69b
11 changed files with 194 additions and 346 deletions
|
@ -34,17 +34,13 @@ helper.defaultsDialog = (function() {
|
|||
Filtering
|
||||
*/
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 110
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
key: "dterm_lpf_hz",
|
||||
value: 110
|
||||
|
@ -202,15 +198,15 @@ helper.defaultsDialog = (function() {
|
|||
value: "256HZ"
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 25
|
||||
},
|
||||
{
|
||||
{
|
||||
key: "dterm_lpf_hz",
|
||||
value: 40
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "BIQUAD"
|
||||
},
|
||||
{
|
||||
|
@ -372,15 +368,15 @@ helper.defaultsDialog = (function() {
|
|||
value: "256HZ"
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 25
|
||||
},
|
||||
{
|
||||
{
|
||||
key: "dterm_lpf_hz",
|
||||
value: 40
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "BIQUAD"
|
||||
},
|
||||
{
|
||||
|
@ -533,11 +529,11 @@ helper.defaultsDialog = (function() {
|
|||
value: "256HZ"
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 10
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "BIQUAD"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -166,7 +166,7 @@ GUI_control.prototype.content_ready = function (callback) {
|
|||
});
|
||||
|
||||
// Insert a documentation button next to the tab title
|
||||
const tabTitle = $('div#content .tab_title');
|
||||
const tabTitle = $('div#content .tab_title').first();
|
||||
const documentationDiv = $('<div>').addClass('cf_doc_version_bt');
|
||||
$('<a>').attr('href', 'https://github.com/iNavFlight/inav/wiki')
|
||||
.attr('target', '_blank').attr('id', 'button-documentation')
|
||||
|
|
|
@ -2472,7 +2472,7 @@ var mspHelper = (function (gui) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Send a request to read a block of data from the dataflash at the given address and pass that address and a dataview
|
||||
* Send a request to read a block of data from the dataflash at the given address and pass that address and a ArrayBuffer
|
||||
* of the returned data to the given callback (or null for the data if an error occured).
|
||||
*/
|
||||
self.dataflashRead = function (address, onDataCallback) {
|
||||
|
@ -2496,7 +2496,7 @@ var mspHelper = (function (gui) {
|
|||
/* Strip that address off the front of the reply and deliver it separately so the caller doesn't have to
|
||||
* figure out the reply format:
|
||||
*/
|
||||
onDataCallback(address, new DataView(response.data.buffer, response.data.byteOffset + 4, response.data.buffer.byteLength - 4));
|
||||
onDataCallback(address, response.data.buffer.slice(4));
|
||||
} else {
|
||||
// Report error
|
||||
onDataCallback(address, null);
|
||||
|
|
|
@ -66,19 +66,11 @@ presets.presets = [
|
|||
value: 250
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 130
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 150
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -224,19 +216,11 @@ presets.presets = [
|
|||
value: 500
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 110
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 250
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -374,19 +358,11 @@ presets.presets = [
|
|||
value: 500
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 100
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 160
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -537,19 +513,11 @@ presets.presets = [
|
|||
value: 500
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 60
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 120
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -699,19 +667,11 @@ presets.presets = [
|
|||
value: 250
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 130
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 180
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -865,19 +825,11 @@ presets.presets = [
|
|||
value: 250
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 115
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -1023,19 +975,11 @@ presets.presets = [
|
|||
value: 500
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 100
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_hz",
|
||||
value: 250
|
||||
},
|
||||
{
|
||||
key: "gyro_stage2_lowpass_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "PT1"
|
||||
},
|
||||
{
|
||||
|
@ -1178,7 +1122,7 @@ presets.presets = [
|
|||
value: "256HZ"
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 25
|
||||
},
|
||||
{
|
||||
|
@ -1186,7 +1130,7 @@ presets.presets = [
|
|||
value: 40
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "BIQUAD"
|
||||
},
|
||||
{
|
||||
|
@ -1344,7 +1288,7 @@ presets.presets = [
|
|||
value: "256HZ"
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_hz",
|
||||
key: "gyro_main_lpf_hz",
|
||||
value: 25
|
||||
},
|
||||
{
|
||||
|
@ -1352,7 +1296,7 @@ presets.presets = [
|
|||
value: 40
|
||||
},
|
||||
{
|
||||
key: "gyro_lpf_type",
|
||||
key: "gyro_main_lpf_type",
|
||||
value: "BIQUAD"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue