@@ -476,6 +476,59 @@ var FlightLogParser = function(logData) {
476476 that . sysConfig [ fieldName ] = parseInt ( fieldValue , 10 ) ;
477477 break ;
478478
479+ case "rc_rate" :
480+ that . sysConfig . rcRate = parseInt ( fieldValue , 10 ) ;
481+ break
482+ case "rc_rate_yaw" :
483+ that . sysConfig . rcYawRate = parseInt ( fieldValue , 10 ) ;
484+ break
485+ case "rc_expo" :
486+ that . sysConfig . rcExpo = parseInt ( fieldValue , 10 ) ;
487+ break
488+ case "rc_expo_yaw" :
489+ that . sysConfig . rcYawExpo = parseInt ( fieldValue , 10 ) ;
490+ break
491+ case "thr_mid" :
492+ that . sysConfig . thrMid = parseInt ( fieldValue , 10 ) ;
493+ break
494+ case "thr_expo" :
495+ that . sysConfig . thrExpo = parseInt ( fieldValue , 10 ) ;
496+ break
497+ case "setpoint_relaxation_ratio" :
498+ that . sysConfig . setpointRelaxRatio = parseInt ( fieldValue , 10 ) ;
499+ break ;
500+ dynThrPID
501+ case "dterm_setpoint_weight" :
502+ that . sysConfig . dtermSetpointWeight = parseInt ( fieldValue , 10 ) ;
503+ break
504+ case "gyro_lowpass_type" :
505+ that . sysConfig . gyro_soft_type = parseInt ( fieldValue , 10 ) ;
506+ break
507+ case "vbat_pid_gain" :
508+ that . sysConfig . vbat_pid_compensation = parseInt ( fieldValue , 10 ) ;
509+ break
510+ case "dshot_idle_value" :
511+ that . sysConfig . digitalIdleOffset = parseInt ( fieldValue , 10 ) ;
512+ break
513+ case "acc_limit" :
514+ that . sysConfig . rateAccelLimit = parseInt ( fieldValue , 10 ) ;
515+ break
516+ case "acc_limit_yaw" :
517+ that . sysConfig . yawRateAccelLimit = parseInt ( fieldValue , 10 ) ;
518+ break
519+ case "iterm_windup" :
520+ that . sysConfig . itermWindupPointPercent = parseInt ( fieldValue , 10 ) ;
521+ break
522+ case "use_unsynced_pwm" :
523+ that . sysConfig . unsynced_fast_pwm = parseInt ( fieldValue , 10 ) ;
524+ break
525+ case "motor_pwm_protocol" :
526+ that . sysConfig . fast_pwm_protocol = parseInt ( fieldValue , 10 ) ;
527+ break
528+ case "tpa_rate" :
529+ that . sysConfig . dynThrPID = parseInt ( fieldValue , 10 ) ;
530+ break
531+
479532 case "yawRateAccelLimit" :
480533 case "rateAccelLimit" :
481534 case "anti_gravity_gain" :
@@ -628,6 +681,7 @@ var FlightLogParser = function(logData) {
628681 case "Blackbox version" :
629682 case "Firmware date" :
630683 case "Craft name" :
684+ case "Log start datetime" :
631685 // These fields are not presently used for anything, ignore them here so we don't warn about unsupported headers
632686 // Just Add them anyway
633687 that . sysConfig [ fieldName ] = fieldValue ;
0 commit comments