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

Revision history [back]

If you using raw command line arguments then you'll need to use the args attribute of the node tag in your launch file are described in the node tag documentation.

The example below will work in your case:

<launch>
  <node pkg="my_package" type="my_node" name="node_instance" args="-arg1 -arg2" />
</launch>