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

Revision history [back]

click to hide/show revision 1
initial version

@ahendrix is correct. You need to have the type attribute for the node tag be the name of the executable, which in your case, is my_python.py. Therefore, my_launch.launch should be

<launch>
  <node name="my_python" type="my_python.py" pkg="my_package" />
</launch>

If you don't want to have the .py, then just remove it from the filename so that it'll be my_python.

For more information, please see http://wiki.ros.org/roslaunch/XML/node