ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.