Facing Ros: Noetic slam-gmapping package installation problem
Hi community,
I am currently new to ROS and I have been following some tutorials to get my hands on ROS. My current workspace involves implementing slam over gazebo. Following the tutorial from here Automaticaddison.com: Turtlebot simulation with ROS, I have implemented the following code for installing slam-gmapping
$ sudo apt-get install ros-noetic-slam-gmapping
Since, I have ROS-noetic distro installed
Further, I have also build my workspace using $ catkin_make
and the sourced it using $ source devel/setup.bash
After this, when I search for files inside slamgmapping folder: Path `/opt/ros/noetic/share/slamgmapping<br>
$ roscd slam_gmapping`
only package.xml is present having the content as
<package>
<name>slam_gmapping</name>
<version>1.4.2</version>
<description>slam_gmapping contains a wrapper around gmapping which provides SLAM capabilities.</description>
<author>Brian Gerkey</author>
<maintainer email="ros-orphaned-packages@googlegroups.com">ROS Orphaned Package Maintainers</maintainer>
<license>BSD</license>
<license>Apache 2.0</license>
<url>http://ros.org/wiki/slam_gmapping</url>
<buildtool_depend>catkin</buildtool_depend>
<run_depend>openslam_gmapping</run_depend>
<run_depend>gmapping</run_depend>
<export>
<metapackage/>
</export>
</package>
due to which I feel I am unable to execute the command $ roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=gmapping
displaying the following error
RLException: [turtlebot3_slam.launch] is neither a launch file in package [turtlebot3_slam] nor is [turtlebot3_slam] a launch file name
The traceback for the exception was written to the log file
I am not sure how do I fix this, please help me out here
Asked by Swarup100 on 2023-06-17 07:29:28 UTC
Comments
quick note: the problem is not
slam_gmapping
. Your packageturtlebot3_slam
apparently does not contain / provide a file calledturtlebot3_slam.launch
. That's whyroslaunch
complains.Asked by gvdhoorn on 2023-06-18 03:07:18 UTC
That is true so could you please help me out on how do I resolve this?
Asked by Swarup100 on 2023-06-18 03:45:36 UTC