-
Notifications
You must be signed in to change notification settings - Fork 310
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
Fix spawner behaviour on failing controller activation or deactivation #1941
Fix spawner behaviour on failing controller activation or deactivation #1941
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1941 +/- ##
=======================================
Coverage 88.11% 88.11%
=======================================
Files 121 121
Lines 13174 13229 +55
Branches 1187 1193 +6
=======================================
+ Hits 11608 11657 +49
- Misses 1132 1135 +3
- Partials 434 437 +3
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.
LGTM (At least the test you've written makes totally sense.)
Co-authored-by: Christoph Fröhlich <[email protected]>
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.
Thank you!!
b436a4e
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
038a05f
into
ros-controls:master
#1941) --------- Co-authored-by: Christoph Fröhlich <[email protected]> (cherry picked from commit 038a05f) # Conflicts: # controller_manager/CMakeLists.txt # controller_manager/src/controller_manager.cpp # controller_manager/test/test_controller/test_controller.cpp
#1941) --------- Co-authored-by: Christoph Fröhlich <[email protected]>
#1941) --------- Co-authored-by: Christoph Fröhlich <[email protected]>
#1941) --------- Co-authored-by: Christoph Fröhlich <[email protected]>
#1941) --------- Co-authored-by: Christoph Fröhlich <[email protected]>
#1941) (#1968) --------- Co-authored-by: Sai Kishor Kothakota <[email protected]>
Before the fix proposed in this PR, the spawner reports the controller activation as successful, if the activation is failed at the last stage after calling activate_controllers. This PR addresses the issue by proposing a fix and this should now properly fail at the spawner end as well
Before the fix:
With the proposed fix: