ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

[gmapping.launch] is neither a launch file in package error

asked 2021-08-16 18:04:51 -0500

ArisWindy gravatar image

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
edit retag flag offensive close merge delete

Comments

What's the output of rospack find my_gmapping?

abhishek47 gravatar image abhishek47  ( 2021-08-18 06:23:35 -0500 )edit

It shows [rospack] Error: package 'my_gmapping' not found

ArisWindy gravatar image ArisWindy  ( 2021-08-18 12:27:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-11-17 06:03:25 -0500

GeorgNo gravatar image

updated 2022-11-17 06:03:52 -0500

Source the setup.bash from your terminal or through your bashrc and run rospack profile:

echo "source $HOME/catkin_ws/devel/setup.bash" >> $HOME/.bashrc   
source $HOME/.bashrc   
rospack profile
edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-08-16 18:04:51 -0500

Seen: 194 times

Last updated: Nov 17 '22