Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Voltage inconsistency checks on ESCs reporting esc_status #12647

Closed
wants to merge 1 commit into from

Conversation

cmic0
Copy link
Contributor

@cmic0 cmic0 commented Aug 6, 2019

Describe problem solved by the proposed pull request
This PR is an incremental piece of #12641 and adds voltage inconsistency checks for ESCs reporting their status (i.e UAVCAN escs).
The check evaluates the delta between each ESC reported voltage and battery voltage. If the delta is greater than 0.5V for more than 2 seconds then a warning message is displayed.
The introduced check is useful to identify critical hardware issues such as bad connection between the power rail and the ESC that may cause voltage drops.

Currently the threshold values are hard-coded; early tests have provided good results but further testing will follow to have better coverage on false positives.

Test data / coverage
Coverage will be provided soon

FYI @RomanBapst @bkueng

@cmic0 cmic0 force-pushed the voltage_inconsistency branch 2 times, most recently from 37b2f87 to ab192fd Compare August 9, 2019 08:10
Signed-off-by: Claudio Micheli <claudio@auterion.com>
@stale
Copy link

stale bot commented Nov 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Nov 7, 2019
@LorenzMeier
Copy link
Member

@cmic0 Can we close this?

@stale stale bot removed the stale label Jan 17, 2021
@LorenzMeier
Copy link
Member

Closing as stale. @cmic0 Please open a new PR if this is still relevant.

@cmic0
Copy link
Contributor Author

cmic0 commented Jan 31, 2021

Confirm - no longer relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants