Error message when running launch file in section 3.3.1

I got this error message.
file ‘subscriber_pkg_launch_file.launch.py’ was not found in the share directory of package ‘subscriber_pkg’ which is at ‘/home/user/ros2_ws/install/subscriber_pkg/share/subscriber_pkg’

I followed the instructions that had me put the launch file here:
cd ~/ros2_ws/src/subscriber_pkg/launch

Where is the error?

I figured it out. There was an error in my setup.py file

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.