[Documentation] [TitleIndex] [WordIndex

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Running patrolling_sim (indigo,jade+)

Description: This tutorial describes how to run the patrolling_sim package in Stage/ROS.

Keywords: stage, patrolling_sim, multi-robot patrol (MRP)

Tutorial Level: INTERMEDIATE

Compiling the Package

In the catkin workspace folder, run "catkin_make" to compile the package:

$ roscd; catkin_make

Start the MRP Experiment Launcher

Change your current directory to the patrolling_sim folder, and launch the following script:

$ roscd patrolling_sim; rosrun patrolling_sim start_experiment.py

Alternatively, you can simply do:

$ roscd patrolling_sim
$ ./start_experiment.py

Select the Simulation Parameters

Use the GUI to select the simulation parameters:

../mrplauncher.png

Press the "Start Experiment" button to run the simulation.

Running a Simulation

Several windows will pop up and the simulation will run according to the parameters previously defined. It will look something like this:

../sim_screenshot.png

Results

You can find the main results of the experiments in the "results" folder inside "patrolling_sim". The info file of an experiment contains a summary of the results of the experiments with the following values: Map ; N. robots ; Wait time ; Communication delay ; Algorithm ; Algorithm parameters ; Machine ; Date ; Time ; Real time ; Interferences ; Termination ; Idleness min ; avg ; stddev ; max.

Notes


2019-11-09 13:01