I have run into this ROS error quite a lot. Each time I checked the paths and everything seems to be alright. I was wondering if there any other mistakes that might trigger this error.
when you execute roscd
what directory are you in? If it is not your catkin_ws/devel, try sourceing your setup.bash again and run roscd again. What are your results?
please post your launch file and a screenshot of your folder structure of the pkg. You can also try deleting devel and build folders and rebuild everything
I did not type the correct package name in the launch file. So the error is caused because it can’t find the package. Why does all the other ROS path stuff come up?