Skip to content

Commit f5cbfb6

Browse files
committed
Added llc parameters to header
1 parent 111b099 commit f5cbfb6

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
@@ -350,6 +350,12 @@ var FlightLogParser = function(logData) {
350350
throttle_limit_percent: null,
351351
throttle_boost: null, // throttle boost
352352
throttle_boost_cutoff: null,
353+
gyro_llc_freq_hz: null,
354+
gyro_llc_phase: null,
355+
dterm_llc_freq_hz: null,
356+
dterm_llc_phase: null,
357+
pterm_llc_freq_hz: null,
358+
pterm_llc_phase: null,
353359
unknownHeaders : [] // Unknown Extra Headers
354360
},
355361

@@ -431,6 +437,12 @@ var FlightLogParser = function(logData) {
431437
vbat_pid_gain : "vbat_pid_compensation",
432438
yaw_accel_limit : "yawRateAccelLimit",
433439
yaw_lowpass_hz : "yaw_lpf_hz",
440+
gyro_llc_freq_hz : "gyro_llc_freq_hz",
441+
gyro_llc_phase : "gyro_llc_phase",
442+
dterm_llc_freq_hz : "dterm_llc_freq_hz",
443+
dterm_llc_phase : "dterm_llc_phase",
444+
pterm_llc_freq_hz : "pterm_llc_freq_hz",
445+
pterm_llc_phase : "pterm_llc_phase",
434446
},
435447

436448
frameTypes,
@@ -841,6 +853,12 @@ var FlightLogParser = function(logData) {
841853
case "gyro_lowpass_dyn_hz":
842854
case "gyro_lowpass_dyn_expo":
843855
case "dterm_lpf_dyn_expo":
856+
case "gyro_llc_freq_hz":
857+
case "gyro_llc_phase":
858+
case "dterm_llc_freq_hz":
859+
case "dterm_llc_phase":
860+
case "pterm_llc_freq_hz":
861+
case "pterm_llc_phase":
844862
case "dterm_lpf_dyn_hz":
845863
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
846864
break;

0 commit comments

Comments
 (0)