MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
|
Implements a team of robots with global SLAM. More...
#include <team.h>
Public Member Functions | |
team () | |
Default constructor. | |
team (int nrobots, worldModelInterface &scene, ConfigFile &stratConfig, ConfigFile &slamConfig, int robotType, const char *teamName) | |
Builds a team of nrobots in the virtual world scene. | |
virtual | ~team () |
Default destructor. | |
slamInterface * | getGlobalSlam () const |
returns a pointer to the global slam object | |
int | getNRobots () const |
returns the number of robots | |
robot * | getRobot (int r) const |
returns a reference to the robot r | |
void | initialize (int nrobots, worldModelInterface &scene, ConfigFile &stratConfig, ConfigFile &slamConfig, int robotType, const char *teamName) |
initilizes a team of nrobots in the virtual world scene | |
void | setLogName (const char *) |
sets the name of the log file | |
void | setWorldModel (worldModelInterface &scene) |
sets the reference to the virtual world | |
void | start () |
team exploration, it blocks the thread until the exploration is concluded | |
void | stop () |
stops the exploration | |
void | waitForTaskFinished () |
Private Attributes | |
slamInterface * | globalSlam |
int | nrobots |
worldModelInterface * | scene |
char * | teamName |
robot ** | theRobots |