diff --git a/index.html b/index.html
index 3a06b5a1..60686aec 100755
--- a/index.html
+++ b/index.html
@@ -480,10 +480,6 @@
|
|
-
- Horizon Sensitivity |
- |
-
@@ -516,12 +512,13 @@
|
Yaw (Hz) |
+ Reset Offset |
|
|
-
+ |
@@ -531,18 +528,12 @@
D-Term |
- Calculation |
- Dynamic Threshold |
- Differentiator |
Filter (Hz) |
Average Count |
- |
- |
- |
|
|
diff --git a/js/flightlog_parser.js b/js/flightlog_parser.js
index e8976958..e7518d10 100644
--- a/js/flightlog_parser.js
+++ b/js/flightlog_parser.js
@@ -221,6 +221,7 @@ var FlightLogParser = function(logData) {
dterm_lpf_hz:null, // DTerm Lowpass Filter Hz
dterm_differentiator:null, // DTerm Differentiator
H_sensitivity:null, // Horizon Sensitivity
+ iterm_reset_offset:null, // I-Term reset offset
deadband:null, // Roll, Pitch Deadband
yaw_deadband:null, // Yaw Deadband
gyro_lpf:null, // Gyro lpf setting.
@@ -482,8 +483,8 @@ var FlightLogParser = function(logData) {
case "dynamic_pterm": // Betaflight Only
that.sysConfig.dynamic_pterm = parseInt(fieldValue, 10);
break;
- case "H_sensitivity": // Betaflight Only
- that.sysConfig.H_sensitivity = parseInt(fieldValue, 10);
+ case "iterm_reset_offset": // Betaflight Only
+ that.sysConfig.iterm_reset_offset = parseInt(fieldValue, 10);
break;
case "deadband":
that.sysConfig.deadband = parseInt(fieldValue, 10);
diff --git a/js/header_dialog.js b/js/header_dialog.js
index ead6c8b0..987a7ebd 100755
--- a/js/header_dialog.js
+++ b/js/header_dialog.js
@@ -319,15 +319,12 @@ function HeaderDialog(dialog, onSave) {
setParameter('yaw_p_limit' ,sysConfig.yaw_p_limit,0);
setParameter('yaw_lpf_hz' ,sysConfig.yaw_lpf_hz,2);
setParameter('dterm_average_count' ,sysConfig.dterm_average_count,0);
+ renderSelect('dynamic_pterm' ,sysConfig.dynamic_pterm, OFF_ON);
setParameter('rollPitchItermResetRate' ,sysConfig.rollPitchItermResetRate,0);
setParameter('yawItermResetRate' ,sysConfig.yawItermResetRate,0);
setParameter('dterm_lpf_hz' ,sysConfig.dterm_lpf_hz,2);
setParameter('dterm_cut_hz' ,sysConfig.dterm_cut_hz,2);
- renderSelect('dterm_differentiator' ,sysConfig.dterm_differentiator, DTERM_DIFFERENTIATOR);
- renderSelect('deltaMethod' ,sysConfig.deltaMethod, PID_DELTA_TYPE);
- renderSelect('dynamic_pterm' ,sysConfig.dynamic_pterm, OFF_ON);
- setParameter('dynamic_dterm_threshold' ,sysConfig.dynamic_dterm_threshold,2);
- setParameter('H_sensitivity' ,sysConfig.H_sensitivity,2);
+ setParameter('iterm_reset_offset' ,sysConfig.iterm_reset_offset,0);
setParameter('deadband' ,sysConfig.deadband,0);
setParameter('yaw_deadband' ,sysConfig.yaw_deadband,0);
renderSelect('gyro_lpf' ,sysConfig.gyro_lpf, GYRO_LPF);