Ask Your Question
1

Simultaneous Autonomous Exploration and Mapping in Gazebo

asked 2014-09-08 03:43:12 -0500

Ashwin27 gravatar image

Using Gazebo, I place a husky robot in a completely unknown environment (currently the willowgarage map). My basic objective is to make the husky autonomously navigate itself through the entire world with the sole aim of mapping the entire area. Basically, if anyone could tell me how to combine an exploration algorithm such as frontier_exploration with gmapping, I would greatly appreciate it. Most tutorials out there use teleoperation, which really defeats the purpose I'm trying to achieve.

Thank You!

edit retag flag offensive close merge delete

Comments

Hi!

Did you manage to do it?

Nikhil16 gravatar imageNikhil16 ( 2016-03-22 13:28:41 -0500 )edit

Hello Nikhil, I moved forward with the Nav2d package by Sebastien mentioned in the answer below. I highly recommend it, it's a great place to start.

Ashwin27 gravatar imageAshwin27 ( 2016-03-22 14:39:35 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2014-09-08 05:03:18 -0500

Sebastian Kasperski gravatar image

The core idea is usually, that you have a complete goal navigation running on your robot and have your exploration module generate the targets depending on your current map and robot position. So a first step would be to check that mapping and navigation are working simultaneously.

I once used the exploration package from http://wiki.ros.org/nav2d within Gazebo and the willowgarage map, so this could be an option as well.

edit flag offensive delete link more

Comments

Thanks, Sebastian! I'll give it a try.

Ashwin27 gravatar imageAshwin27 ( 2014-09-08 05:21:59 -0500 )edit

Hi @Sebastian Kasperski, can nav2d exploration package be used for a single robot autonomous exploration of an indoor workplace out of the box? - i have working navigation and mapping packages running. thanks

sobot gravatar imagesobot ( 2015-05-08 18:03:36 -0500 )edit
1

Hi @sobot, exploration should work out of the box if you use the mapping and navigation from the nav2d package. (see Tutorial3)

Sebastian Kasperski gravatar imageSebastian Kasperski ( 2015-05-11 03:39:46 -0500 )edit

thanks a bunch @Sebastian Kasperski , i will give it a try for sure. just a little question, do i also have to add the GetFirstMap action which is mentioned in the tutorial, like the other two GetMap & Explore in the launch file? my ultimate goal is to test an autonomous navigation solution.

sobot gravatar imagesobot ( 2015-05-11 05:52:40 -0500 )edit

@sobot: The GetFirstMap action only drives the robot forward a bit and makes it turn 360° to build an initial map. This is because the exploration cannot work on an empty map. The client-nodes are only simple shortcuts to call these actions from the command line.

Sebastian Kasperski gravatar imageSebastian Kasperski ( 2015-05-11 06:36:20 -0500 )edit

@Sebastian Kasperski Correct, i understand the reason for of it. was just wondering about the launch file config to do "Autonomous" exploration on robot. GetFirstMap is not in the sample launch files, do i have to add it just like GetMap? which service number calls it? so much want it to work! thnx.

sobot gravatar imagesobot ( 2015-05-11 07:46:11 -0500 )edit

@sobot: But it is there: tutorial3.launch. It is called get_map_client.

Sebastian Kasperski gravatar imageSebastian Kasperski ( 2015-05-11 09:29:14 -0500 )edit
1

Ok, got me, the naming might be a little inconsistent...

Sebastian Kasperski gravatar imageSebastian Kasperski ( 2015-05-11 09:31:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

5 followers

Stats

Asked: 2014-09-08 03:43:12 -0500

Seen: 1,434 times

Last updated: Sep 08 '14