User Tools

Site Tools


ros:turtlebot:simu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ros:turtlebot:simu [2014/02/14 10:21] – [Connectivity and bugs] towa45ros:turtlebot:simu [2014/02/14 12:39] – [Connectivity and bugs] towa45
Line 47: Line 47:
 I'm followig the procedure: I'm followig the procedure:
  
-*launch gazebo (turtlebot emty world) +* launch gazebo (turtlebot emty world) 
-*wait until gazebo displays the robot +* wait until gazebo displays the robot 
-*launch the gazebo gmapping demo +* launch the gazebo gmapping demo 
-*waint until you see the SLAM running: this step often fails, and SLAM never starts, I don't know why... +* waint until you see the SLAM running: this step often fails, and SLAM never starts, I don't know why... 
-*then you can set up your gazebo environment (willowgarage for instance) +* then you can set up your gazebo environment (willowgarage for instance) 
-*finaly you should be able to run rviz view_navigation and build your map with a teleop.+* finaly you should be able to run rviz view_navigation and build your map with a teleop. 
 + 
 +EDIT: Apparently you shoud run the gmapping demo just after lanching gazebo instead of waiting for gazebo being completely launched... weird??? 0_o 
 + 
 +EDIT 2: A solution to fix this issue is to merge gmapping_demo.launch and turtlebot_empty_world.launch (or playgroud) and save it under another name, because you don't necessary need to run gmapping with a simulation. 
 +You can simply add this line at the end of the turtlebot_empty_world.launch file, just before </launch> 
 + 
 +    <include file="$(find turtlebot_navigation)/launch/includes/gmapping.launch.xml"/> 
 +It works fine for me (Ubuntu 13.10, ROS hydro compiled from source)
  
 ##Next steps ##Next steps