ros2_documentation icon indicating copy to clipboard operation
ros2_documentation copied to clipboard

launch file undocumented "args" option?

Open stewpend0us opened this issue 1 year ago • 2 comments
trafficstars

in my yaml I can do:

...
- node:
    ...
    args: "--ros-args --log-level debug"

but I haven't been able to find this documented anywhere? Is this the best way/only way to set the log-level from a yaml file?

stewpend0us avatar Feb 26 '24 16:02 stewpend0us

there is a description in release note, https://docs.ros.org/en/rolling/Releases/Release-Humble-Hawksbill.html#passing-ros-arguments-to-node-actions.

it could be also added to documentation such as https://docs.ros.org/en/rolling/Tutorials/Intermediate/Launch/Creating-Launch-Files.html? (because release note is meant to show the change log and difference only.)

fujitatomoya avatar Feb 26 '24 22:02 fujitatomoya

Thank you! Yes I think it should be mentioned in the 2nd link you shared. That's usually where I land when I'm setting up my launch file.

stewpend0us avatar Feb 27 '24 17:02 stewpend0us