Rahgir Arefin Rafi
Rahgir Arefin Rafi

Reputation: 21

rosrun can't find executables even though {workspace_directory}/devel/setup.bash was sourced correctly

I have sourced the /opt/ros/noetic/setup.bash and my workspace correctly. But still I can't find my nodes inside the package throgh autocompletion (pressing TAB key). If I type in the name manually, it returns a error saying "[rosrun] Couldn't find executable named raspicam_node below"

I looked in CMakeFiles and everything was formatted correctly.

Upvotes: 0

Views: 49

Answers (1)

Rahgir Arefin Rafi
Rahgir Arefin Rafi

Reputation: 21

Make sure you have enabled read-write permission in the workspace directory.

$ chmod u+x -R {workspace_directory}

Running this before I wanted to run a node fixed my issue.

Upvotes: 0

Related Questions