File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -566,6 +566,8 @@ function FlightLogFieldPresenter() {
566566 break ;
567567 case 'RC_SMOOTHING' :
568568 switch ( fieldName ) {
569+ case 'debug[0]' :
570+ return ( value + 1500 ) . toFixed ( 0 ) + " us" ;
569571 case 'debug[3]' : // rx frame rate [us]
570572 return ( value / 1000 ) . toFixed ( 1 ) + 'ms' ;
571573 }
Original file line number Diff line number Diff line change @@ -470,7 +470,12 @@ GraphConfig.load = function(config) {
470470 case 'RC_SMOOTHING' :
471471 switch ( fieldName ) {
472472 case 'debug[0]' : // raw RC command
473- return getCurveForMinMaxFieldsZeroOffset ( 'debug[0]' ) ;
473+ return {
474+ offset : 0 ,
475+ power : 0.25 ,
476+ inputRange : 500 * gyroScaleMargin , // +20% to let compare in the same scale with the rccommands
477+ outputRange : 1.0
478+ } ;
474479 case 'debug[1]' : // raw RC command derivative
475480 case 'debug[2]' : // smoothed RC command derivative
476481 return getCurveForMinMaxFieldsZeroOffset ( 'debug[1]' , 'debug[2]' ) ;
You can’t perform that action at this time.
0 commit comments