Turtlebot3 SLAM rviz

asked 2020-12-17 21:47:48 -0500

adsaba98 gravatar image

When I run this, roslaunch turtlebot3_slam turtlebot3_slam.launch, I get an error saying rviz-3 has died. I am wondering how to fix it. I would appreciate any suggestions. I have also attached the output of the command.

ubuntu@ubuntu:~$ roslaunch turtlebot3_slam turtlebot3_slam.launch ... logging to /home/ubuntu/.ros/log/88e8dea6-40db-11eb-906e-8b809f81e429/roslaunch-ubuntu-20609.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

xacro: in-order processing became default in ROS Melodic. You can drop the option. started roslaunch server http://192.168.1.186:41935/

SUMMARY

PARAMETERS * /robot_description:

NODES / robot_state_publisher (robot_state_publisher/robot_state_publisher) rviz (rviz/rviz) turtlebot3_slam_gmapping (gmapping/slam_gmapping)

ROS_MASTER_URI=http://192.168.1.195:11311

process[robot_state_publisher-1]: started with pid [20619] process[turtlebot3_slam_gmapping-2]: started with pid [20620] process[rviz-3]: started with pid [20621] qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

[ INFO] [1608262367.588226219]: Laser is mounted upwards. -maxUrange 3 -maxUrange 3.49 -sigma 0.05 -kernelSize 1 -lstep 0.05 -lobsGain 3 -astep 0.05 -srr 0.1 -srt 0.2 -str 0.1 -stt 0.2 -linearUpdate 1 -angularUpdate 0.2 -resampleThreshold 0.5 -xmin -10 -xmax 10 -ymin -10 -ymax 10 -delta 0.05 -particles 100 [ INFO] [1608262367.635029715]: Initialization complete update frame 0 update ld=0 ad=0 Laser Pose= -0.446906 -0.0453018 -3.05599 m_count 0 Registering First Scan update frame 3 update ld=1.64555e-05 ad=0.00039411 Laser Pose= -0.446898 -0.0452999 -3.05602 m_count 1 ================================================================================REQUIRED process [rviz-3] has died! process has died [pid 20621, exit code -6, cmd /opt/ros/noetic/lib/rviz/rviz -d /opt/ros/noetic/share/turtlebot3_slam/rviz/turtlebot3_gmapping.rviz __name:=rviz __log:=/home/ubuntu/.ros/log/88e8dea6-40db-11eb-906e-8b809f81e429/rviz-3.log]. log file: /home/ubuntu/.ros/log/88e8dea6-40db-11eb-906e-8b809f81e429/rviz-3*.log Initiating shutdown! ================================================================================ [rviz-3] killing on exit [turtlebot3_slam_gmapping-2] killing on exit [robot_state_publisher-1] killing on exit Average Scan Matching Score=271.031 neff= 100 Registering Scans:Done virtual GMapping::GridSlamProcessor::~GridSlamProcessor(): Start virtual GMapping::GridSlamProcessor::~GridSlamProcessor(): Deleting tree shutting down processing monitor... ... shutting down processing monitor complete done

edit retag flag offensive close merge delete