#include <ArServerSimpleCommands.h>
This class will let you send commands to the microcontroller (com, comInt, and com2Bytes).
Public Member Functions | |
| ArServerSimpleConnectionTester (ArServerHandlerCommands *handlerCommands, ArRobot *robot) | |
| Constructor. | |
| void | connectionTestStart (void) |
| Handles the command. | |
| void | connectionTestStop (void) |
| Handles the motor commands. | |
| virtual | ~ArServerSimpleConnectionTester () |
| Destructor. | |
Protected Member Functions | |
| void | log (void) |
| bool | packetHandler (ArRobotPacket *packet) |
| void | userTask (void) |
Protected Attributes | |
| ArFunctorC< ArServerSimpleConnectionTester > | myConnectionTestStartCB |
| ArFunctorC< ArServerSimpleConnectionTester > | myConnectionTestStopCB |
| int | myCyclesSincePacket |
| bool | myFirst |
| ArServerHandlerCommands * | myHandlerCommands |
| ArTime | myLastLog |
| int | myMissedMotorPackets |
| int | myMissedPackets |
|
ArRetFunctor1C< bool, ArServerSimpleConnectionTester, ArRobotPacket * > | myPacketHandlerCB |
| ArTime | myPacketReceived |
| int | myPacketsThisCycle |
| int | myReceivedPackets |
| ArRobot * | myRobot |
| ArFunctorC< ArServerSimpleConnectionTester > | myUserTaskCB |
1.5.1