From 17c1d82ce718a5fb5eb204f5c77bda342d478cb0 Mon Sep 17 00:00:00 2001 From: iso9660 Date: Sat, 21 Jan 2023 01:08:07 +0100 Subject: [PATCH] Added new DSHOT debug modes Added checkbox to activate edt Restore other translation files than the english one --- locales/en/messages.json | 6 +++++- src/css/tabs/onboard_logging.less | 6 +++--- src/js/tabs/onboard_logging.js | 8 ++++++++ src/tabs/motors.html | 10 +++++++++- 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/locales/en/messages.json b/locales/en/messages.json index 34baf62a1b2..1311dfaf9f3 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -6276,8 +6276,12 @@ "message": "Bidirectional DShot (requires supported ESC firmware)", "description": "Feature for the ESC/Motor" }, + "configurationDshotEdt": { + "message": "Built-in sensors", + "description": "ESC/Motor feature" + }, "configurationDshotBidirHelp": { - "message": "Sends ESC data to the FC via DShot telemetry. Required by RPM Filtering and dynamic idle.

Note: Requires a compatible ESC with appropriate firmware, eg JESC, Jazzmac, BLHeli-32.", + "message": "Sends ESC data to the FC via DShot telemetry. Required by RPM Filtering and dynamic idle.

Note: Requires a compatible ESC with appropriate firmware, eg Bluejay, AM32, JESC, Jazzmac, BLHeli-32.", "description": "Description of the Bidirectional DShot feature of the ESC/Motor" }, "configurationGyroSyncDenom": { diff --git a/src/css/tabs/onboard_logging.less b/src/css/tabs/onboard_logging.less index 215559dfd8b..4f0689b200a 100644 --- a/src/css/tabs/onboard_logging.less +++ b/src/css/tabs/onboard_logging.less @@ -167,7 +167,7 @@ .blackboxRate { select { float: left; - width: 180px; + width: 260px; height: 20px; margin: 0 10px 5px 0; border: 1px solid var(--subtleAccent); @@ -180,7 +180,7 @@ .blackboxDebugMode { select { float: left; - width: 180px; + width: 260px; height: 20px; margin: 0 10px 5px 0; border: 1px solid var(--subtleAccent); @@ -193,7 +193,7 @@ .blackboxDevice { select { float: left; - width: 180px; + width: 260px; height: 20px; margin: 0 10px 5px 0; border: 1px solid var(--subtleAccent); diff --git a/src/js/tabs/onboard_logging.js b/src/js/tabs/onboard_logging.js index 01d88f701a5..5150992d4c8 100644 --- a/src/js/tabs/onboard_logging.js +++ b/src/js/tabs/onboard_logging.js @@ -321,6 +321,14 @@ onboard_logging.initialize = function (callback) { {text: "VTX_MSP"}, {text: "GPS_DOP"}, {text: "ANGLEMODE"}, + {text: "FAILSAFE"}, + {text: "DSHOT_STATUS_N_TEMPERATURE"}, + {text: "DSHOT_STATUS_N_VOLTAGE"}, + {text: "DSHOT_STATUS_N_CURRENT"}, + {text: "DSHOT_STATUS_N_DEBUG1"}, + {text: "DSHOT_STATUS_N_DEBUG2"}, + {text: "DSHOT_STATUS_N_DEMAG_METRIC"}, + {text: "DSHOT_STATUS_N_ERPM_FRACTION"}, ]; for (let i = 0; i < FC.PID_ADVANCED_CONFIG.debugModeCount; i++) { diff --git a/src/tabs/motors.html b/src/tabs/motors.html index d591e12813a..4aebf1af2b9 100644 --- a/src/tabs/motors.html +++ b/src/tabs/motors.html @@ -90,7 +90,15 @@
- +
+ +
+
+ +
+
+ +