-
Notifications
You must be signed in to change notification settings - Fork 266
[Fix] Cleanup Launch Files #982
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
base: master
Are you sure you want to change the base?
[Fix] Cleanup Launch Files #982
Conversation
|
I will be away for the next week, so I apologize if I do not immediately respond to comments. |
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.
Jobs are failing, can you have a look please?
|
This pull request is in conflict. Could you fix it @philipchurchley? |
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.
Thanks a lot for the big changes.
My first review round below. Please also fix the merge conflict with example_5 now.
| name="publisher_forward_position_controller", | ||
| parameters=[position_goals], | ||
| parameters=[ | ||
| PathSubstitution(FindPackageShare("ros2_control_demo_example_1")) |
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.
| PathSubstitution(FindPackageShare("ros2_control_demo_example_1")) | |
| PathSubstitution(FindPackageShare("ros2_control_demo_example_10")) |
it seems that this was wrong before
Addresses #950 and follows up on #959 by cleaning the remaining launch files. The launch files have been improved to use a declarative programming style, as described by @emersonknapp at ROSCon, which can be viewed in the livestream at 6:10.
Summary
LaunchDescription([...]), replacedPathJoinSubstitutionwithPathSubstitution+/,used literal
"xacro"inCommand, and removedRegisterEventHandler/OnProcessExit).Validation performed
generate_launch_description()for each launch) — all passed.master; it flagged 18 files but most differences are cosmetic or expected.Potential confusions for reviewer attention
example_15: addedpublisher_configlaunch argument in test launches. Please confirm the default file and behavior.RegisterEventHandlerentries may affect startup/shutdown ordering for some bringup launches. Please check that this removal doesn't break anything.Recommendation