ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I wrote an issue on exactly this, see https://github.com/ros2/launch/issues/383

It should be possible to declare a launch argument in your launch file and then pass in to the nodes as arguments, see this answer.

I wrote an issue on exactly this, see https://github.com/ros2/launch/issues/383

It should be possible to declare a launch argument in your launch file and then pass in to the nodes as arguments, see this answer.

Edit: Nevermind, I just realized you were talking about ROS 1. Keeping this answer in case someone is looking for the same issue for ROS 2.

I wrote an issue on exactly this, see https://github.com/ros2/launch/issues/383

It should be possible to declare a launch argument in your launch file and then pass in to the nodes as arguments, see this answer.

Edit: Edit: Nevermind, I just realized you were talking about ROS 1. Keeping this answer in case someone is looking for the same issue for ROS 2.