ArServerHandlerMultiRobot Class Reference

#include <ArMultiRobot.h>

List of all members.


Detailed Description

This class handles the server side of dispensing information to the central server.

It has no callback for the packet because it broadcasts it in each user task set


Public Member Functions

void multiRobotInfo (ArServerClient *client, ArNetPacket *packet)
 gets the information about the robot's radius and path radius
int getPrecedenceClass (void)
 Gets the robot's precedence class.
void setPrecedenceClass (int precedenceClass=0)
 Sets the robot's precedence class.
void overrideMapName (const char *overrideMapName)
 Override map name (if you set this it'll use this instead of the real map name).
bool processFile (char *errorBuffer, size_t errorBufferLen)
 processes our config and updates everyone that it changed

Protected Member Functions

void userTask (void)
 broadcasts the informationabout the position and path
void newGoal (void)
 Called when we get a new goal.


Member Function Documentation

void ArServerHandlerMultiRobot::overrideMapName ( const char *  overrideMapName  ) 

Override map name (if you set this it'll use this instead of the real map name).

Parameters:
overrideMapName the name of the map to put into the packet instead of the real one


Generated on Thu Aug 6 09:40:14 2009 for BaseArnl by  doxygen 1.5.1