-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add XML/YAML launch equivalents for large project tutorial #6021
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: rolling
Are you sure you want to change the base?
Conversation
Signed-off-by: Luke Sy <[email protected]>
Signed-off-by: Luke Sy <[email protected]>
Update launch_turtlesim_launch.xml to use <let> for passing values in include statements, with a note about earlier launch system version compatibility requiring <arg> instead. Signed-off-by: Luke Sy <[email protected]>
SuperJappie08
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.
Looks good.
The only possible thing I could find with a (somewhat) quick scan was the missing emphasize lines for turtlesim_world_3_launch.py
|
|
||
| .. literalinclude:: launch/turtlesim_world_3_launch.py | ||
| :language: python | ||
| :emphasize-lines: 12 |
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.
Maybe add the emphasis to all formats.
Or migrate to push-ros-namespace (with the additional hassle of it currently needing to be explicitly scoped with a group when included).
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.
@SuperJappie08 Thanks for the review!
- Emphasis added to the XML and YAML snippets so all formats highlight the namespace.
- I think we can keep the current approach—“PushROSNamespace” comes later in section 3, and introducing it here in section 2 may disrupt the flow.
SuperJappie08
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.
Looks good.
I wonder if somewhere it should mention that you can mix launch file types.
(This might not be the place for it, and it might already be mentioned somewhere else; I'm not fully up to date with the documentation improvements)
Description
Add XML/YAML launch file equivalents "Using ROS 2 Launch For Large Projects" tutorial.
Fixes #6006
Did you use Generative AI?
Partially - Cursor AI Assistant for tutorial rephrasing and refactoring. Each generated line reviewed.
Additional Information
broadcast_listener_launch.pyrenamed tobroadcaster_listener_launch.pyfor correctness for launch file nameTutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.html. If 📝 Replace all trivial launchfile examples with XML/YAML #6006 includes changes totfandurdftutorial, they will be done so in a separate PR.