Skip to content

Commit cfbea75

Browse files
authored
Added tpa lower parameters to header (#657)
1 parent 31e6234 commit cfbea75

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

js/flightlog_parser.js

+9
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ var FlightLogParser = function(logData) {
353353
throttle_boost: null, // throttle boost
354354
throttle_boost_cutoff: null,
355355
thrust_linear: null,
356+
tpa_rate_lower: null,
357+
tpa_breakpoint_lower: null,
358+
tpa_breakpoint_lower_fade: null,
356359
unknownHeaders : [] // Unknown Extra Headers
357360
},
358361

@@ -435,6 +438,9 @@ var FlightLogParser = function(logData) {
435438
yaw_accel_limit : "yawRateAccelLimit",
436439
yaw_lowpass_hz : "yaw_lpf_hz",
437440
thrust_linear : "thrust_linear",
441+
tpa_rate_lower : "tpa_rate_lower",
442+
tpa_breakpoint_lower : "tpa_breakpoint_lower",
443+
tpa_breakpoint_lower_fade : "tpa_breakpoint_lower_fade",
438444
},
439445

440446
frameTypes,
@@ -848,6 +854,9 @@ var FlightLogParser = function(logData) {
848854
case "gyro_lowpass_dyn_expo":
849855
case "dterm_lpf_dyn_expo":
850856
case "thrust_linear":
857+
case "tpa_rate_lower":
858+
case "tpa_breakpoint_lower":
859+
case "tpa_breakpoint_lower_fade":
851860
case "dterm_lpf_dyn_hz":
852861
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
853862
break;

0 commit comments

Comments
 (0)