-
Notifications
You must be signed in to change notification settings - Fork 145
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
Let XML executables/nodes be "required" (like in ROS 1) (#751) #764
Conversation
* Let XML nodes be "required" Essentially on_exit="shutdown" is equivalent to ROS 1 required="true". This feature is implemented using the python launchfile on_exit mechanism. Right now "shutdown" is the only action accepted by on_exit, but theoretically more "on_exit" actions could be added later. Example: <executable cmd="ls" on_exit="shutdown"/> * Added tests for yaml Signed-off-by: Matthew Elwin <[email protected]> Signed-off-by: Tim Clephas <[email protected]>
@mjcarroll can you review this and run CI? |
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 with Green CI
Flake8 complains: |
Let's go ahead and fix it here so we can keep CI green. |
Now the tests are stating:
Which I removed because 'Mapping' was indicated as unused import. |
c62de66
to
e8714b9
Compare
@Yadunund since you did the last release, do you know what the policy is for getting a new release on iron? 🙂 |
Version bumps to core packages (including |
Cool 😎 |
ros2#764) Backport ros2#751 for Iron Essentially on_exit="shutdown" is equivalent to ROS 1 required="true". This feature is implemented using the python launchfile on_exit mechanism. Right now "shutdown" is the only action accepted by on_exit, but theoretically more "on_exit" actions could be added later. Example: <executable cmd="ls" on_exit="shutdown"/> * Added tests for yaml Signed-off-by: Matthew Elwin <[email protected]> Signed-off-by: Tim Clephas <[email protected]> Co-authored-by: Matthew Elwin <[email protected]>
Backport of #751 for ROS iron
Thanks @m-elwin for the works!