1 vote

ROS-NOETIC Program works when executing by rosrun but don't work when using roslaunch

I think the problem here is how you are pointing to your directories, namely, your use of os.getcwd(). rosrun will run with ...
CaptKrasno's user avatar
1 vote

roslaunch: is neither a launch file in package

I had a similar issue. I had a typo: instead of package.launch I named the file package_launch. After renaming it worked :-)
Joern Boegeholz's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible