Excercise 2.1 Error: cannot launch node of type

I’m trying to launch move_robot.launch, but this error keeps showing up.

I’ve done the following:

  • The code in the python and in the launch file are both copied from the solution
  • The python file has the permission to be executed
  • I’ve compiled with “catkin_make” before launching
  • I did “source setup.bash”

I would really appreciate some help! You can find my error message attached at the bottom.

Hi Simon,

  • Are you referring to the correct file and package names?
  • Is the python actually executable?

Please run the following commands and show us the content:

cd /home/user/catkin_ws/
ls -al
cd src
ls -al
cd exercise_21
ls -al
cd src
ls -al

By the way, welcome to our help community!

Wow, that was quick! Thanks for helping me!


Well, as usually the problem sits about 30 cm in front of the screen. Initially i misspelled “exercise” and that’s why it couldn’t find it. Sorry for that. Anyway, thank you for your support!

1 Like