diff --git a/js/flightlog_fields_presenter.js b/js/flightlog_fields_presenter.js index 824644fe..cf86dfe4 100644 --- a/js/flightlog_fields_presenter.js +++ b/js/flightlog_fields_presenter.js @@ -566,6 +566,8 @@ function FlightLogFieldPresenter() { break; case 'RC_SMOOTHING': switch (fieldName) { + case 'debug[0]': + return (value + 1500).toFixed(0) + " us"; case 'debug[3]': // rx frame rate [us] return (value / 1000).toFixed(1) + 'ms'; } diff --git a/js/graph_config.js b/js/graph_config.js index a2cfcf76..b5fb8f7e 100644 --- a/js/graph_config.js +++ b/js/graph_config.js @@ -470,7 +470,12 @@ GraphConfig.load = function(config) { case 'RC_SMOOTHING': switch (fieldName) { case 'debug[0]': // raw RC command - return getCurveForMinMaxFieldsZeroOffset('debug[0]'); + return { + offset: 0, + power: 0.25, + inputRange: 500 * gyroScaleMargin, // +20% to let compare in the same scale with the rccommands + outputRange: 1.0 + }; case 'debug[1]': // raw RC command derivative case 'debug[2]': // smoothed RC command derivative return getCurveForMinMaxFieldsZeroOffset('debug[1]', 'debug[2]');