Skip to content

Commit b8cade7

Browse files
authored
Add EZLANDING debug (#676)
* Add EZLANDING debug * Add mixer type
1 parent 6a4f99e commit b8cade7

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

js/flightlog_fielddefs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ let
360360
"RC_STATS",
361361
"MAG_CALIB",
362362
"MAG_TASK_RATE",
363+
"EZLANDING",
363364
]),
364365

365366
SUPER_EXPO_YAW = makeReadOnly([

js/flightlog_fields_presenter.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,13 @@ function FlightLogFieldPresenter() {
11071107
'debug[5]': 'Read State',
11081108
'debug[6]': 'Task Time (Us)',
11091109
},
1110+
'EZLANDING' : {
1111+
'debug[all]': 'EZ Landing',
1112+
'debug[0]': 'EZ Land Factor',
1113+
'debug[1]': 'Adjusted Throttle',
1114+
'debug[2]': 'Upper Limit',
1115+
'debug[3]': 'EZ Land Limit',
1116+
},
11101117
};
11111118

11121119
let DEBUG_FRIENDLY_FIELD_NAMES = null;

js/flightlog_parser.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ var FlightLogParser = function(logData) {
356356
tpa_low_rate: null,
357357
tpa_low_breakpoint: null,
358358
tpa_low_always: null,
359+
mixer_type: null,
359360
unknownHeaders : [] // Unknown Extra Headers
360361
},
361362

@@ -441,6 +442,7 @@ var FlightLogParser = function(logData) {
441442
tpa_low_rate : "tpa_low_rate",
442443
tpa_low_breakpoint : "tpa_low_breakpoint",
443444
tpa_low_always : "tpa_low_always",
445+
mixer_type : "mixer_type",
444446
},
445447

446448
frameTypes,
@@ -857,6 +859,7 @@ var FlightLogParser = function(logData) {
857859
case "tpa_low_rate":
858860
case "tpa_low_breakpoint":
859861
case "tpa_low_always":
862+
case "mixer_type":
860863
case "dterm_lpf_dyn_hz":
861864
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
862865
break;

0 commit comments

Comments
 (0)