betaflight-configurator icon indicating copy to clipboard operation
betaflight-configurator copied to clipboard

Added new DSHOT debug modes

Open damosvil opened this issue 2 years ago • 30 comments

This pr matches functionality in https://github.com/betaflight/betaflight/pull/12170 and https://github.com/betaflight/betaflight/pull/11694

Added new DSHOT EDT modes to blackbox tab. As their names are longer than usual I made the drop down list controls wider. Also added FAILSAFE mode I found in blackbox explorer.

It can be used with Bluejay 0.20.1 RC2 or above.


Depends on https://github.com/betaflight/betaflight/pull/12170

damosvil avatar Jan 21 '23 01:01 damosvil

Something is wrong, you are modifying a lot of files, including different languages files.

McGiverGim avatar Jan 21 '23 08:01 McGiverGim

@McGiverGim This pr adds:

  • Extended dshot telemetry (EDT) checkbox enable in motors tab, so translation files need to be updated (https://github.com/betaflight/betaflight/pull/11694)
  • New debug modes to include (https://github.com/betaflight/betaflight/pull/12170): -- ESC temperature -- voltage -- current -- demag event -- desync event -- stall event -- demag metric max -- demag metric current -- other ESC debugging signals
  • Sensors/debug functionality with new debug modes (https://github.com/betaflight/betaflight/pull/12170)

This is a work in progress/draft pr. Other functionality may be added over time.

damosvil avatar Jan 21 '23 08:01 damosvil

@McGiverGim I am new at adding new features to Configurator, so I may be breaking some rules I don't know. Please, could you let me know why is this wrong?

damosvil avatar Jan 21 '23 08:01 damosvil

You don't must change the locales files, only the English one. The translations are made at Crowdin and will update the others languages automatically.

McGiverGim avatar Jan 21 '23 10:01 McGiverGim

@McGiverGim Ok, I will restore them

damosvil avatar Jan 21 '23 11:01 damosvil

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jan 21 '23 19:01 github-actions[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jan 22 '23 21:01 sonarqubecloud[bot]

@McGiverGim @haslinghuis rebased to master, ready for review

damosvil avatar Mar 17 '23 23:03 damosvil

@damosvil please fix the test

haslinghuis avatar Mar 17 '23 23:03 haslinghuis

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Mar 18 '23 00:03 github-actions[bot]

AUTOMERGE: (FAIL)

  • github identifies PR as mergeable -> FAIL
  • assigned to a milestone -> PASS
  • cooling off period lapsed -> PASS
  • commit count less or equal to three -> PASS
  • Don't merge label NOT found -> PASS
  • at least one RN: label found -> PASS
  • Tested label found -> FAIL
  • assigned to an approver -> FAIL
  • approver count at least three -> FAIL

blckmn avatar Mar 18 '23 01:03 blckmn

Today I generated a log in a Meteor 65 and it seems the pr works fine: STATUS_N_RPM_BTFL_BLACKBOX_LOG_Meteor65_20230318_104401.zip

Tested using the following prs & Bluejay v0.19.2: https://github.com/betaflight/betaflight/pull/12170 https://github.com/betaflight/betaflight-configurator/pull/3262 https://github.com/betaflight/blackbox-log-viewer/pull/625

imagen

damosvil avatar Mar 18 '23 10:03 damosvil

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Mar 18 '23 13:03 github-actions[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Mar 18 '23 23:03 github-actions[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Mar 22 '23 17:03 github-actions[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Mar 25 '23 23:03 github-actions[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Apr 10 '23 14:04 sonarqubecloud[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Apr 10 '23 15:04 github-actions[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jun 12 '23 20:06 github-actions[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jun 13 '23 17:06 sonarqubecloud[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jun 13 '23 18:06 github-actions[bot]

we still getting this done? rc1 is planned for Dec 1

sugaarK avatar Nov 26 '23 03:11 sugaarK

The objective of this branch is allowing to log esc events in the blackbox to know how well commutation goes in the escs. I can work in the rebase, but at this time Bluejay is the only fw that fully implements extended telemetry and it seems that no other firmwares are interested in implementing it, neither any company, so if you like I could keep a branch in my own repo for BF4.5 and then we can let it go. Probably this is not the time for this class of innovation.

damosvil avatar Nov 26 '23 08:11 damosvil

The objective of this branch is allowing to log esc events in the blackbox to know how well commutation goes in the escs. I can work in the rebase, but at this time Bluejay is the only fw that fully implements extended telemetry and it seems that no other firmwares are interested in implementing it, neither any company, so if you like I could keep a branch in my own repo for BF4.5 and then we can let it go. Probably this is not the time for this class of innovation.

If it’s ready passes code review and you will make use of it then I say let’s go.. I’m sure I can convince am32 to get on it and venders too

sugaarK avatar Nov 26 '23 09:11 sugaarK

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Nov 26 '23 10:11 github-actions[bot]

Thanks for keeping active here. I look forward to testing this with a suitable bluejay version. Would it be possible to include a link in the opening comment to a suitable ESC firmware to test with?

ctzsnooze avatar Dec 04 '23 23:12 ctzsnooze

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Dec 05 '23 18:12 github-actions[bot]

Quality Gate Failed Quality Gate failed

Failed conditions

4.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Dec 13 '23 14:12 sonarqubecloud[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Dec 13 '23 15:12 github-actions[bot]

time to rebase and consider review comments, TYVM

nerdCopter avatar Jun 05 '24 14:06 nerdCopter