-
Notifications
You must be signed in to change notification settings - Fork 304
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
Deactivate the controllers when they return error similar to the hard… #1499
Deactivate the controllers when they return error similar to the hard… #1499
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1499 +/- ##
==========================================
- Coverage 62.67% 62.54% -0.14%
==========================================
Files 96 96
Lines 11311 11394 +83
Branches 8151 8210 +59
==========================================
+ Hits 7089 7126 +37
- Misses 715 726 +11
- Partials 3507 3542 +35
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with that changes, thanks! But it's missing tests :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks for the quick changes!
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thanks!
Hello!
This is something we have discussed long back in one of the WG meetings to unify the approach with HW and controllers. Right now, when the hardware returns ERROR, it currently deactivates the controllers that use the hardware's interfaces.
Likewise, we want to enforce that if a controller returns an error, we would like to deactivate it to avoid situations in the next cycles. Moreover, this return info from the controllers are not used at all, so, I think it would make sense to put them to proper use.
Thank you