ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

autonomous map building with turtlebot 2?

asked 2014-07-27 02:09:07 -0600

d gravatar image

hi there. we're trying to build an "autonomous map building" feature for turtlebot 2. for example, we want to place turtlebot 2 in a room and it will automatically go around the room to build the room map (without us sending teleop commands).

we tried to use a couple of existing packages like /explore, but it's been hit and miss. sometimes it works, sometimes it doesn't work (i.e. doesn't capture the entire room floor plan).

what is your recommendation for building this?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-07-29 13:41:25 -0600

paulbovbel gravatar image

The frontier exploration module ( ) is built as a plugin to the basic ros navigation stack, and works with gmapping to explore an unknown area. See the launch files for usecases.

If you're having reliability/repeatability issues, try testing the exploration algorithm in gazebo first, to determine whether the error source is high or low level. It could be anything from the exploration planner, to your navigation stack setup, to issues with your sensor setup.

edit flag offensive delete link more


Hi, we are working on a similar problem. We have installed the frontier_exploration package but it requires manual instructions in terms of where do u want the robot to go (polygons). How do we modify/do what needs to be done in order for the robot to move on its own i.e. without external commands.

hasnain gravatar image hasnain  ( 2018-03-26 06:49:23 -0600 )edit

answered 2014-07-28 02:41:32 -0600

Sebastian Kasperski gravatar image

We did something similar with Pioneer robots. The software included autonomous exploration and mapping and is now available for Hydro and Indigo:

Maybe you can also use it on a Turtlebot.

edit flag offensive delete link more


what is your experience with the exploration package? we tried it already, but it's hit and miss. it didn't capture 100% of the floor plan. we had to manually drive it (via teleop) to certain areas of the rooms that it couldn't reach.

d gravatar image d  ( 2014-07-28 08:28:16 -0600 )edit

Well, I made it, so it used to work nicely! ;) We used it both indoor and outdoor, but it's primarily for indoor use. What did the map look like when the exploration finished? Have you checked if it aborted or finished the exploration?

Sebastian Kasperski gravatar image Sebastian Kasperski  ( 2014-07-28 09:51:21 -0600 )edit

Hi, how did you use the nav2d package? Can you please share some sort of guides/instructions. I am really stuck

hasnain gravatar image hasnain  ( 2018-03-26 06:51:43 -0600 )edit

How do I use nav2D package with a swarm of 4 hector quadrotors to map an unknown environment autonomously? @[Sebastian Kaperski]

hunterlineage1 gravatar image hunterlineage1  ( 2023-01-16 23:58:47 -0600 )edit

Question Tools



Asked: 2014-07-27 02:09:07 -0600

Seen: 5,046 times

Last updated: Jul 29 '14