ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You have to split up the arguments, like this:

arguments=['--ros-args', '--log-level', 'DEBUG'],

This is how it's usually done with anything that interacts with exec*() (which is what launch ultimately calls under the hood). See this comment: https://github.com/ros2/launch_ros/issues/109#issuecomment-570303536

Also, I don't think you need the -- at the end. Works fine for me without it.

You have to split up the arguments, like this:

arguments=['--ros-args', '--log-level', 'DEBUG'],

This is how it's usually done with anything that interacts with exec*() (which is what launch ultimately calls under the hood). It looks fine and the resulting command string is fine (as you said), but it's not valid. See this comment: https://github.com/ros2/launch_ros/issues/109#issuecomment-570303536

Also, I don't think you need the -- at the end. Works fine for me without it.

You have to split up the arguments, like this:

arguments=['--ros-args', '--log-level', 'DEBUG'],

This is how it's usually done with anything that interacts with exec*() (which is what launch ultimately calls under the hood). It looks looks fine and the resulting command string is fine (as you said), but it's not valid. See this comment: https://github.com/ros2/launch_ros/issues/109#issuecomment-570303536

Also, I don't think you need the -- at the end. Works fine for me without it.