Skip to content

Commit cd20d13

Browse files
committed
Added llc parameters to header
1 parent 2cbc073 commit cd20d13

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

js/flightlog_parser.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,12 @@ var FlightLogParser = function(logData) {
353353
throttle_boost: null, // throttle boost
354354
throttle_boost_cutoff: null,
355355
thrust_linear: null,
356+
gyro_llc_freq_hz: null,
357+
gyro_llc_phase: null,
358+
dterm_llc_freq_hz: null,
359+
dterm_llc_phase: null,
360+
pterm_llc_freq_hz: null,
361+
pterm_llc_phase: null,
356362
unknownHeaders : [] // Unknown Extra Headers
357363
},
358364

@@ -435,6 +441,12 @@ var FlightLogParser = function(logData) {
435441
yaw_accel_limit : "yawRateAccelLimit",
436442
yaw_lowpass_hz : "yaw_lpf_hz",
437443
thrust_linear : "thrust_linear",
444+
gyro_llc_freq_hz : "gyro_llc_freq_hz",
445+
gyro_llc_phase : "gyro_llc_phase",
446+
dterm_llc_freq_hz : "dterm_llc_freq_hz",
447+
dterm_llc_phase : "dterm_llc_phase",
448+
pterm_llc_freq_hz : "pterm_llc_freq_hz",
449+
pterm_llc_phase : "pterm_llc_phase",
438450
},
439451

440452
frameTypes,
@@ -848,6 +860,12 @@ var FlightLogParser = function(logData) {
848860
case "gyro_lowpass_dyn_expo":
849861
case "dterm_lpf_dyn_expo":
850862
case "thrust_linear":
863+
case "gyro_llc_freq_hz":
864+
case "gyro_llc_phase":
865+
case "dterm_llc_freq_hz":
866+
case "dterm_llc_phase":
867+
case "pterm_llc_freq_hz":
868+
case "pterm_llc_phase":
851869
case "dterm_lpf_dyn_hz":
852870
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
853871
break;

0 commit comments

Comments
 (0)