#include <ArDocking.h>
Inheritance diagram for ArServerModeDockSimulator:
Public Member Functions | |
virtual bool | isDocked (void) |
This should return true if the robot has power from the dock and false otherwise. | |
virtual void | enableDock (void) |
This should enable docking (turn on charger or what not), it'll be called after the robot bumps into the dock. | |
virtual void | disableDock (void) |
This should disable docking (turn off charger or what not), it'll be called, this'll wait 5 seconds, and then the robot'll back away from the dock. | |
virtual void | checkDock (void) |
The simulator redefines this so that the simulated robot doesn't always come up docked. |
void ArServerModeDockSimulator::enableDock | ( | void | ) | [virtual] |
This should enable docking (turn on charger or what not), it'll be called after the robot bumps into the dock.
After this the code'll wait a while for isDocked to become true.
Implements ArServerModeDockTriangleBump.