Skip to content

Commit

Permalink
Added thrust_linear (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
pichim authored Dec 3, 2023
1 parent 70b7fe8 commit 2cbc073
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/flightlog_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ var FlightLogParser = function(logData) {
throttle_limit_percent: null,
throttle_boost: null, // throttle boost
throttle_boost_cutoff: null,
thrust_linear: null,
unknownHeaders : [] // Unknown Extra Headers
},

Expand Down Expand Up @@ -433,6 +434,7 @@ var FlightLogParser = function(logData) {
vbat_pid_gain : "vbat_pid_compensation",
yaw_accel_limit : "yawRateAccelLimit",
yaw_lowpass_hz : "yaw_lpf_hz",
thrust_linear : "thrust_linear",
},

frameTypes,
Expand Down Expand Up @@ -845,6 +847,7 @@ var FlightLogParser = function(logData) {
case "gyro_lowpass_dyn_hz":
case "gyro_lowpass_dyn_expo":
case "dterm_lpf_dyn_expo":
case "thrust_linear":
case "dterm_lpf_dyn_hz":
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
break;
Expand Down

0 comments on commit 2cbc073

Please sign in to comment.