mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Add DSHOT telemetry motor level packet stats
Captures packet quality statistics per motor to provide a platform for troubleshooting and in-flight alarms or warnings. Continuously monitors and captures packet stats over the past second to be used to determine DSHOT telemetry link quality. Update the CLI to move the DSHOT telemetry data/stats out of the `status` command and into a dedicated `dshot_telemetry_info` command. Reformatted the motor data to include the invalid packet percentages. Will aid in debugging by identifying ESC's that may be misconfigured (not supplying data), or those with problems generating high invalid packet percentages. Data can later be used to generate OSD and beeper-based warnings if invalid packet percentages exceed thresholds. Included a blackbox logging debug mode (`set debug_mode = DSHOT_RPM_ERRORS`) to record the per-motor invalid packet percentages in hundredths of a percent (so 123 is 1.23%).
This commit is contained in:
parent
01e0c95810
commit
644d5713df
8 changed files with 146 additions and 29 deletions
|
@ -86,4 +86,5 @@ const char * const debugModeNames[DEBUG_COUNT] = {
|
|||
"AC_CORRECTION",
|
||||
"AC_ERROR",
|
||||
"DUAL_GYRO_SCALED",
|
||||
"DSHOT_RPM_ERRORS",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue