From 9836f61b63669ba4a520f04051005d1369b4dbe0 Mon Sep 17 00:00:00 2001 From: Gary Keeble Date: Sat, 10 Sep 2016 16:49:52 +0100 Subject: [PATCH] Rename Graph Fields Rename rcCommands to setpointRate Issue #28 Rename debug[] fields to match RC14 --- js/flightlog_fields_presenter.js | 16 ++++++++-------- js/main.js | 2 +- manifest.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/js/flightlog_fields_presenter.js b/js/flightlog_fields_presenter.js index c33a12c9..aa0f9f48 100644 --- a/js/flightlog_fields_presenter.js +++ b/js/flightlog_fields_presenter.js @@ -68,10 +68,10 @@ function FlightLogFieldPresenter() { 'axisError[2]' : 'PID_Error[yaw]', //Virtual fields - add the Scaled rcCommands - 'rcCommands[all]': 'rcCommands', - 'rcCommands[0]' : 'rcCommands[roll]', - 'rcCommands[1]' : 'rcCommands[pitch]', - 'rcCommands[2]' : 'rcCommands[yaw]', + 'rcCommands[all]': 'setpointRates', + 'rcCommands[0]' : 'setpointRate[roll]', + 'rcCommands[1]' : 'setpointRate[pitch]', + 'rcCommands[2]' : 'setpointRate[yaw]', //Virtual fields - add the Scaled gyros 'gyroADCs[all]': 'gyros', @@ -140,10 +140,10 @@ function FlightLogFieldPresenter() { }, 'NOTCH' : { 'debug[all]':'Debug Notch', - 'debug[0]':'gyro_raw[roll]', - 'debug[1]':'gyro_notch[roll]', - 'debug[2]':'gyro_raw[pitch]', - 'debug[3]':'gyro_notch[pitch]', + 'debug[0]':'gyro_preNotch[roll]', + 'debug[1]':'gyro_preNotch[pitch]', + 'debug[2]':'gyro_preNotch[yaw]', + 'debug[3]':'Not Used', }, 'RC_INTERPOLATION' : { 'debug[all]':'Debug RC', diff --git a/js/main.js b/js/main.js index 1ed91459..4ea73193 100644 --- a/js/main.js +++ b/js/main.js @@ -3,7 +3,7 @@ // Global Level Variables var userSettings = {}; -var VIEWER_VERSION = '2.5.5'; // Current version +var VIEWER_VERSION = '2.5.6'; // Current version function BlackboxLogViewer() { function supportsRequiredAPIs() { diff --git a/manifest.json b/manifest.json index 0abf0927..2bf9d2eb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Betaflight - Blackbox Explorer", "description": "Interactive flight log viewer for Betaflight", - "version": "2.5.5", + "version": "2.5.6", "manifest_version": 2, "app": { "background": {