I am consistently having trouble getting the files organized. I can’t find a way to review what mistakes I made in the sequence of file creation. In Section 2.1 source /opt/ros/humble/setup.bash and the sequence in Section 2.2 - are these required every time I log on? As you can see in that attached, the file is green font, and yet is not found as executable. Can you provide a sequence of commands that always works beginning from the user: prompt level.
Did you modify your CMakelists after creating the script?
Also ensure the location of your package inside src folder
Have you properly set up your “console scripts” in setup.py
?
This is where you specify the Python scripts you would like to run with ros2 run...
or launch with ros2 launch...
Thank you, not updating the setup.py folder was my problem.
1 Like
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.