Skip to content

Commit

Permalink
Added llc parameters to header
Browse files Browse the repository at this point in the history
  • Loading branch information
pichim committed Dec 3, 2023
1 parent 2cbc073 commit cd20d13
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions js/flightlog_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,12 @@ var FlightLogParser = function(logData) {
throttle_boost: null, // throttle boost
throttle_boost_cutoff: null,
thrust_linear: null,
gyro_llc_freq_hz: null,
gyro_llc_phase: null,
dterm_llc_freq_hz: null,
dterm_llc_phase: null,
pterm_llc_freq_hz: null,
pterm_llc_phase: null,
unknownHeaders : [] // Unknown Extra Headers
},

Expand Down Expand Up @@ -435,6 +441,12 @@ var FlightLogParser = function(logData) {
yaw_accel_limit : "yawRateAccelLimit",
yaw_lowpass_hz : "yaw_lpf_hz",
thrust_linear : "thrust_linear",
gyro_llc_freq_hz : "gyro_llc_freq_hz",
gyro_llc_phase : "gyro_llc_phase",
dterm_llc_freq_hz : "dterm_llc_freq_hz",
dterm_llc_phase : "dterm_llc_phase",
pterm_llc_freq_hz : "pterm_llc_freq_hz",
pterm_llc_phase : "pterm_llc_phase",
},

frameTypes,
Expand Down Expand Up @@ -848,6 +860,12 @@ var FlightLogParser = function(logData) {
case "gyro_lowpass_dyn_expo":
case "dterm_lpf_dyn_expo":
case "thrust_linear":
case "gyro_llc_freq_hz":
case "gyro_llc_phase":
case "dterm_llc_freq_hz":
case "dterm_llc_phase":
case "pterm_llc_freq_hz":
case "pterm_llc_phase":
case "dterm_lpf_dyn_hz":
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
break;
Expand Down

0 comments on commit cd20d13

Please sign in to comment.