-
Notifications
You must be signed in to change notification settings - Fork 395
Deactivate the whole controller chain if one of the update results in ERROR #2681
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 whole controller chain if one of the update results in ERROR #2681
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2681 +/- ##
==========================================
+ Coverage 89.46% 89.60% +0.14%
==========================================
Files 152 152
Lines 17307 17637 +330
Branches 1434 1448 +14
==========================================
+ Hits 15483 15804 +321
- Misses 1246 1250 +4
- Partials 578 583 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
199e749 to
e1db65b
Compare
destogl
left a comment
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.
This looks very reasonable and very welcome!
christophfroehlich
left a comment
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, CI is happy so am I
2cfe70e
into
ros-controls:master
This PR proposes a way to deactivate the whole controller chain when one of the controllers in the chain is deactivated as a result of it returning
ERRORin the update cycle.For instance, for the following example, if the controller B fails, then it is deactivated automatically, but all the other controllers are left dangling, and they are left to track an invalid reference, this might lead to a catastrophic behaviour, this is especially true when you are tracking a
velocity,force, ortorquereferences. The idea is to bring down the whole chain along with it.graph LR; A-->B; B-->C; B-->D; D-->E;