ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The line from original tutorial launch-file (on the second link you gave)
<node pkg="turtle_teleop" type="turtle_teleop_joy" name="teleop"/>
tells roslaunch
to start a node by running turtle_teleop_joy
executable (type
parameter) which is located within turtle_teleop
package (pkg
parameter). If you change pkg
parameter on this line roslaunch
will search for the executable within another package/folder, i.e. learning_joy
. So, if there is no such executable (node) there, then roslaunch will issue an error.