Launch file question

3 views
Skip to first unread message

Pito Salas

unread,
Nov 24, 2025, 7:57:01 PM (8 days ago) Nov 24
to hbrob...@googlegroups.com, Boston Robot Hackers
Here’s a puzzle, or at least something that works differently than what I understood. 

ros2 launch linorobot2_bringup bringup.launch.py urdf:=/home/pitosalas/linorobot2_ws/src/dome/config/dome1.urdf.xacro

If you look at that bringup.launch.py you sill see that it does DeclareLaunchArgument called urdf. However it is not used in any of the nodes created or included launch files. But if you follow the trail you see that bringup.launch.py includes default_robot.launch.py which in turn includes description.launch.py, which finally does declare a launch argument called urdf.

What I think I am seeing is that the very first urdf:= seems to be setting a global context of some kind which is used in description.launc.py.

Am I reading this correctly? Is that how it is supposed to work?

Best,

Pito

Boston Robot Hackers && 
Comp. Sci Faculty, Brandeis University (Emeritus)

Ken Gregson

unread,
Nov 25, 2025, 1:55:59 AM (8 days ago) Nov 25
to boston-rob...@googlegroups.com, hbrob...@googlegroups.com
Seems like it might be consistent with launch file parameter passing/handling described here?


--
Check out https://bostonrobothackers.com!
---
You received this message because you are subscribed to the Google Groups "Boston Robot Hackers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boston-robot-hac...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/boston-robot-hackers/F9E83579-46DF-4955-A254-3D8208D806FA%40gmail.com.
Reply all
Reply to author
Forward
0 new messages