[gmapping.launch] is neither a launch file in package error
I've got this message when I run roslaunch my_gmapping gmapping.launch
RLException: [gmapping.launch] is neither a launch file in package [my_gmapping] nor is [my_gmapping] a launch file name
The traceback for the exception was written to the log file
That code exists in this path
Home/catkin_ws/src/my_gmapping/launch
What's the output of
rospack find my_gmapping
?It shows
[rospack] Error: package 'my_gmapping' not found