Issue with roslaunch slam_gmapping on rviz

asked 2020-08-04 02:20:26 -0500

anjun gravatar image

I am trying to run gmapping on a turtlebot3_world simulation on gazebo. On one terminal, i launched the turtlebot3_world file on gazebo.

Howvever, whenever I tried to roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=gmapping, the following error will pop up:

[turtlebot3_slam_gmapping-2] process has died [pid 4587, exit code -11, cmd /home/anjun/catkin_ws/devel/lib/gmapping/slam_gmapping __name:=turtlebot3_slam_gmapping __log:=/home/anjun/.ros/log/73ad4f20-d620-11ea-8995-c0b883fc111a/turtlebot3_slam_gmapping-2.log]. log file: /home/anjun/.ros/log/73ad4f20-d620-11ea-8995-c0b883fc111a/turtlebot3_slam_gmapping-2.log ================================================================================REQUIRED process [rviz-3] has died! process has died [pid 4588, exit code -6, cmd /opt/ros/melodic/lib/rviz/rviz -d /home/anjun/catkin_ws/src/turtlebot3/turtlebot3_slam/rviz/turtlebot3_gmapping.rviz __name:=rviz __log:=/home/anjun/.ros/log/73ad4f20-d620-11ea-8995-c0b883fc111a/rviz-3.log]. log file: /home/anjun/.ros/log/73ad4f20-d620-11ea-8995-c0b883fc111a/rviz-3.log Initiating shutdown! not sure if related, but the command rosrun gmapping slam_gmapping scan:=base_scan results in segmentation fault (core dump).

This problem persists even after the following remedies: 1) reinstalling ros melodic 2) sourcing devel/setup.bash 3) git cloning the slam_gmapping github packgage into catkin workspace 4) rebooting the computer 5) redownloading turtlebot3 package from github 6) sudo apt-get update

My Configuration: Ubuntu 18.04.4 LTS on a PC( GTX 1650)

Kernel 5.3.0-62-generic

NVIDIA driver 440

CUDA Version 10.0.326

Any insight is appreciated.

edit retag flag offensive close merge delete