Skip to content

Commit 2cbc073

Browse files
authored
Added thrust_linear (#670)
1 parent 70b7fe8 commit 2cbc073

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/flightlog_parser.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ var FlightLogParser = function(logData) {
352352
throttle_limit_percent: null,
353353
throttle_boost: null, // throttle boost
354354
throttle_boost_cutoff: null,
355+
thrust_linear: null,
355356
unknownHeaders : [] // Unknown Extra Headers
356357
},
357358

@@ -433,6 +434,7 @@ var FlightLogParser = function(logData) {
433434
vbat_pid_gain : "vbat_pid_compensation",
434435
yaw_accel_limit : "yawRateAccelLimit",
435436
yaw_lowpass_hz : "yaw_lpf_hz",
437+
thrust_linear : "thrust_linear",
436438
},
437439

438440
frameTypes,
@@ -845,6 +847,7 @@ var FlightLogParser = function(logData) {
845847
case "gyro_lowpass_dyn_hz":
846848
case "gyro_lowpass_dyn_expo":
847849
case "dterm_lpf_dyn_expo":
850+
case "thrust_linear":
848851
case "dterm_lpf_dyn_hz":
849852
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
850853
break;

0 commit comments

Comments
 (0)