ERROR: cannot launch node of type [turtlebot3_teleop/turtlebot3_teleop_key]: Cannot locate node of type [turtlebot3_teleop_key] in package [turtlebot3_teleop]. Make sure file exists in package path and permission is set to executable (chmod +x)

asked 2020-04-09 19:32:41 -0500

lsattf gravatar image

I have a turtlebot3 burger hardware. When I following the official instuction at http://emanual.robotis.com/docs/en/pl....

This error occur. And I found check the ros package of turtlebot3_teleop, this file really lost and it seems that it can"t be there naturally.(I reinstall this package and this "turtlebot3_teleop_key" file is still lost).

I try to solve that by cloning the papckages from https://github.com/ROBOTIS-GIT/turtle.... The program seems work but the hardware(real turtlebot3) doesn't move when I press keyboard.

edit retag flag offensive close merge delete

Comments

Hi @lsattf,

Are you sure you have the proper permissions over the file? Maybe it is a problem of your set up and you did not source ROS and catkin enviroments Also remember the need to set up the TURTLEBOT3_MODEL enviroment variable. If you have installed those packages from ubuntu apt you can find the turtlebot3_teleop package in /opt/ros/melodic/lib.

If nothing of this solve the issue maybe is a connection problem between the turtlebot and you controller. How are you trying to control the turtlebot, with its embarqued computer or with a connected one? Where is the ROS_MASTER running? In the tutorial you posted they mention a "remote PC" so I've figured you are conecting a laptop to the onboard pc of the turtlebot.

Weasfas gravatar image Weasfas  ( 2020-04-10 11:09:03 -0500 )edit

Thanks. I configured my openCR and solved at last. There is a step of pressing openCR button to move the wheels on turtlebot.

lsattf gravatar image lsattf  ( 2020-04-16 12:07:15 -0500 )edit

Great! If that solve your problem post it as the correct answer, good job!

Weasfas gravatar image Weasfas  ( 2020-04-16 12:34:21 -0500 )edit