ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In order to completely answer the question(to launch two nodes with the respective command line arguments), This is how my launch file looks now,
<launch>
<arg name="args1"/>
<arg name="args2"/>
<node pkg="pkg" type="node.py" name="executable" output="screen" args="$(arg args1)"/>
<node pkg="pkg" type="node1" name="executable1" output="screen" args="$(arg args2)"/>
</launch>
and the command I enter in bash
rosrun pkg launch_file.launch args1:="a b c" args2:="a1 b1"