#include <ArServerSimpleCommands.h>
This class will let you send commands to the microcontroller (com, comInt, and com2Bytes).
Public Member Functions | |
| ArServerSimpleComUC (ArServerHandlerCommands *handlerCommands, ArRobot *robot) | |
| Constructor. | |
| void | command (ArArgumentBuilder *arg) |
| Handles the command. | |
| void | motionCommand (ArArgumentBuilder *arg) |
| Handles the motor commands. | |
| virtual | ~ArServerSimpleComUC () |
| Destructor. | |
Protected Member Functions | |
| void | processCommand (ArArgumentBuilder *arg, bool motionCommand) |
Protected Attributes | |
|
ArFunctor1C< ArServerSimpleComUC, ArArgumentBuilder * > | myCommandCB |
| ArServerHandlerCommands * | myHandlerCommands |
|
ArFunctor1C< ArServerSimpleComUC, ArArgumentBuilder * > | myMotionCommandCB |
| ArRobot * | myRobot |
1.5.1