ROS Basics in 5 Days (C++) Launching Issues

Hello all,

In Unit 1 Example 1.7 I consistently get the error:

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

when doing the roslaunch step. As far as I can tell I followed the instructions to a t and didn’t do anything that would cause this sort of permission issues.

Any guesses as to how to fix this issue?

Thank you,
Ryan

Hi,

The turtlebot_teleop package should come preinstalled in your course environment. It actually works with just the command

roslaunch turtlebot_teleop keyboard_teleop.launch

Make sure youre environment is sourced correctly with

source /home/simulations/public_sim_ws/devel/setup.bash
source /home/catkin_ws/devel/setup.bash
source /opt/ros/noetic/setup.bash
1 Like

Hey Roal,

Thank you for your response. It didn’t actually solve the issue but I figured it out.

I hadn’t correctly done the launch file for that step, which lead to the roslaunch looking for local turtlebot files that weren’t actually included within the package sources.

1 Like

How did you solve it , i got same error when i launch

Did you try closing the course and starting it again? Please post more information about your issue so I know how to help.