Tag Archives: ROS ERROR: cannot launch node of type [mbot_teleop/mbot_teleop.py]

ROS Error: ROS ERROR: cannot launch node of type [mbot_teleop/mbot_teleop.py]

Cause of problem

mbot_teleop.py is not an executable file. change MBot_teleop.py to executable

Solution:

Enter the directory: /URDF_ws/src/mrobot_teleop/scripts (where urdf_ws is my workspace)

Find file: locate mBot_teleop.py

Right click the PY file -> Attribute -> Check execute: allow executing file as program of permission