Exercise 2.6 step 4

Hello,

After create simply.py file, i don’t know how to do the following instructions:

HINT: You can copy from the turtlebot_teleop package, the keyboard_teleop.launch file and modify it. If you do so, remove the param and remap tags and leave only the node tag, because you don’t need those parameters.

I don’t find keyboard_teleop.launch

Thanks

Hi,

Have you tried to do:

roscd turtlebot_teleop/launch

Thanks, I have found it.

but I find error when execute

started roslaunch server http://3_xterm:33221/

SUMMARY

PARAMETERS

  • /rosdistro: noetic
  • /rosversion: 1.15.9

NODES
/
ObiWan (my_package/simple.py)

ROS_MASTER_URI=http://3_simulation:11311

ERROR: cannot launch node of type [my_package/simple.py]: Cannot locate node of type [simple.py] in package [my_package]. Make sure file exists in package path and permission is set to executable (chmod +x)
No processes to monitor
shutting down processing monitor…
… shutting down processing monitor complete

I have this into keyboard_teleop.launch ;

You need to make simple.py executable.

This topic was automatically closed after 19 hours. New replies are no longer allowed.