Robotics StackExchange | Archived questions

Issue with roslaunch slam_gmapping on rviz

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

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

[turtlebot3slamgmapping-2] process has died [pid 4587, exit code -11, cmd /home/anjun/catkinws/devel/lib/gmapping/slamgmapping _name:=turtlebot3slamgmapping _log:=/home/anjun/.ros/log/73ad4f20-d620-11ea-8995-c0b883fc111a/turtlebot3slamgmapping-2.log]. log file: /home/anjun/.ros/log/73ad4f20-d620-11ea-8995-c0b883fc111a/turtlebot3slamgmapping-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/catkinws/src/turtlebot3/turtlebot3slam/rviz/turtlebot3gmapping.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 slamgmapping scan:=basescan 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.

Asked by anjun on 2020-08-04 02:18:12 UTC

Comments

Answers