Skip to content

Commit 87075bb

Browse files
committed
Added llc parameters to header
1 parent 5ce6146 commit 87075bb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

js/flightlog_parser.js

+18
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@ var FlightLogParser = function(logData) {
352352
throttle_limit_percent: null,
353353
throttle_boost: null, // throttle boost
354354
throttle_boost_cutoff: null,
355+
gyro_llc_freq_hz: null,
356+
gyro_llc_phase: null,
357+
dterm_llc_freq_hz: null,
358+
dterm_llc_phase: null,
359+
pterm_llc_freq_hz: null,
360+
pterm_llc_phase: null,
355361
unknownHeaders : [] // Unknown Extra Headers
356362
},
357363

@@ -433,6 +439,12 @@ var FlightLogParser = function(logData) {
433439
vbat_pid_gain : "vbat_pid_compensation",
434440
yaw_accel_limit : "yawRateAccelLimit",
435441
yaw_lowpass_hz : "yaw_lpf_hz",
442+
gyro_llc_freq_hz : "gyro_llc_freq_hz",
443+
gyro_llc_phase : "gyro_llc_phase",
444+
dterm_llc_freq_hz : "dterm_llc_freq_hz",
445+
dterm_llc_phase : "dterm_llc_phase",
446+
pterm_llc_freq_hz : "pterm_llc_freq_hz",
447+
pterm_llc_phase : "pterm_llc_phase",
436448
},
437449

438450
frameTypes,
@@ -845,6 +857,12 @@ var FlightLogParser = function(logData) {
845857
case "gyro_lowpass_dyn_hz":
846858
case "gyro_lowpass_dyn_expo":
847859
case "dterm_lpf_dyn_expo":
860+
case "gyro_llc_freq_hz":
861+
case "gyro_llc_phase":
862+
case "dterm_llc_freq_hz":
863+
case "dterm_llc_phase":
864+
case "pterm_llc_freq_hz":
865+
case "pterm_llc_phase":
848866
case "dterm_lpf_dyn_hz":
849867
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
850868
break;

0 commit comments

Comments
 (0)