turtlebot / turtlebot_simulator

Launchers for Gazebo simulation of the TurtleBot
http://www.ros.org/wiki/turtlebot_simulator
99 stars 136 forks source link

Inaccurate Gmapping Map with Gazebo 8 and ROS Kinetic #75

Open MsMimi opened 5 years ago

MsMimi commented 5 years ago

I installed gazebo8 and ros kinetic as the instructions from https://medium.com/@abhiksingla10/setting-up-ros-kinetic-and-gazebo-8-or-9-70f2231af21a. I need gazebo 8 since Im using VMware Fusion on MacBook. Next I install most of turtlebot packages using apt-get, while turtlebot_simulator, kobuki_desktop, and kobuki_msgs from source.

When I try to run turtlebot_gazebo gmapping demo and visualize in Rviz, the map result is not correct, it creates a lot of obstacles where there is none. I'm quite new to ROS, at first I thought it was installation program, so I remove all ROS, Gazebo etc and repeat the installation, but the same problem still occur.

Attach is the simulation world and rviz map.

gmapping error

Thanks!