ROSRUN in Exercise 3.1

Hi everyone, I’m having a little problem.

user:~/catkin_ws/src/linux_course_files/move_bb8_pkg/my_scripts$ chmod 755
user:~/catkin_ws/src/linux_course_files/move_bb8_pkg/my_scripts$ ls -la
total 12
drwxr-xr-x 2 user user 4096 Sep 3 05:28 .
drwxr-xr-x 3 user user 4096 Sep 3 05:29 …
-rwxr-xr-x 1 user user 2257 Sep 3 04:57
user:~/catkin_ws/src/linux_course_files/move_bb8_pkg/my_scripts$ rosrun move_bb8_pkg[rospack] Error: package ‘move_bb8_pkg’ not found

Please help me and show me where is my mistake. Thanks very much

Hello @17146275,

The issue here seems to be that move_bb8_pkg is not a ROS package in your case, but a regular folder. Therefore, you can’t use rosrun in order to execute its scripts. I suspect this is the issue because I cannot see the CMakeLists.txt or package.xml files inside it in the image you shared. You can see here the original contents of the package: