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

Multi Robot Mapping in Navigation_2d Tutorials

asked 2014-09-09 06:49:46 -0600

Ashwin27 gravatar image

The tutorials for the navigation_2d package are provided here. The first 3 work flawlessly and, being a beginner, they have taught me a lot. However, the next 2 tutorials have very little documentation, namely the ones corresponding to the tutorial4.launch file in the package and a tutorial that helps one implement their own exploration strategy. They can be found at these links: tutorial4.launch Exploration Strategy

I was wondering if anyone had managed to successfully implement tutorial4.launch file, the one which deals with multi-robot exploration and mapping. I would greatly appreciate it if you could give me a few pointers on how to set it up or maybe direct me to a link with a more detailed explanation of the working methodology.

Thank You!

edit retag flag offensive close merge delete


Hello @Ashwin27, i have some problems to get nav2d exploration run on my turtlebot, may i ask what equipments did you use for your tasks with nav2d?

sobot gravatar image sobot  ( 2015-05-21 22:36:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-09 07:43:56 -0600

Sebastian Kasperski gravatar image


these two tutorials do not exist, because I had no time to write them yet. :( However, the tutorial4.launch should be in the package and should also run if you were able to run the first 3. So maybe the launch file can already answer some of your questions.

roslaunch nav2d_tutorials tutorial4.launch

If you are interested in writing your own exploration strategy, you should checkout the sources from Github and have a look at the NearestFrontierPlanner within nav2d_exploration. This is a very simple strategy to demonstrate how to write a plugin for the Navigator. Also the tutorials from can help you with this.

edit flag offensive delete link more


Thanks for the quick response, Sebastian! When I run the tutorial3 launch file, I have to enter these two commands to get the simulation to run: rosservice call /StartMapping 3 rosservice call /StartExploration 2 What similar commands do I need to enter for tutorial4?

Ashwin27 gravatar image Ashwin27  ( 2014-09-09 08:22:39 -0600 )edit

I just had a look at the launch file and there is only the mapper running on all robots and the sim_joy node to control the simulated robots via joystick. So you can move the robots by holding down button 1 or 2 and moving the robot via the joystick.

Sebastian Kasperski gravatar image Sebastian Kasperski  ( 2014-09-09 08:40:42 -0600 )edit

I got it running now, thanks a lot for the help, Sebastian!

Ashwin27 gravatar image Ashwin27  ( 2014-09-10 00:05:58 -0600 )edit

Question Tools

1 follower


Asked: 2014-09-09 06:49:46 -0600

Seen: 823 times

Last updated: Sep 09 '14