Public Member Functions | |
void | handleBatteryInfo (ArNetPacket *packet) |
This callback is called when an update on the battery configuration changes. | |
void | handleOutput (ArNetPacket *packet) |
This callback is called when an update on general robot state arrives. | |
void | handlePhysicalInfo (ArNetPacket *packet) |
This is called when the physical robot information comes back. | |
OutputHandler (ArClientBase *client) | |
virtual | ~OutputHandler (void) |
Protected Attributes | |
ArClientBase * | myClient |
bool | myGotBatteryInfo |
Don't print any information until we get the battery info. | |
bool | myNeedToPrintHeader |
A header for the columns in the data printout is sometimes printed. | |
ArFunctor1C< OutputHandler, ArNetPacket * > | myHandleBatteryInfoCB |
ArFunctor1C< OutputHandler, ArNetPacket * > | myHandleOutputCB |
ArFunctor1C< OutputHandler, ArNetPacket * > | myHandlePhysicalInfoCB |
char | myMode [32] |
double | myRotVel |
char | myStatus [256] |
double | myTh |
double | myVel |
double | myVoltage |
double | myX |
double | myY |
Definition at line 256 of file clientDemo.cpp.
|
Definition at line 300 of file clientDemo.cpp. References ArClientBase::addHandler(), client, myClient, myHandleBatteryInfoCB, myHandleOutputCB, myHandlePhysicalInfoCB, ArClientBase::request(), and ArClientBase::requestOnce(). |
|
Definition at line 322 of file clientDemo.cpp. References myClient, and ArClientBase::requestStop(). |
|
This callback is called when an update on the battery configuration changes.
Definition at line 361 of file clientDemo.cpp. References myGotBatteryInfo, and myNeedToPrintHeader. |
|
This callback is called when an update on general robot state arrives.
Definition at line 328 of file clientDemo.cpp. References myGotBatteryInfo, myMode, myNeedToPrintHeader, myRotVel, myStatus, myTh, myVel, myVoltage, myX, and myY. |
|
This is called when the physical robot information comes back.
Definition at line 375 of file clientDemo.cpp. |
|
Definition at line 283 of file clientDemo.cpp. Referenced by OutputHandler(), and ~OutputHandler(). |
|
Don't print any information until we get the battery info.
Definition at line 297 of file clientDemo.cpp. Referenced by handleBatteryInfo(), and handleOutput(). |
|
Definition at line 290 of file clientDemo.cpp. Referenced by OutputHandler(). |
|
Definition at line 289 of file clientDemo.cpp. Referenced by OutputHandler(). |
|
Definition at line 291 of file clientDemo.cpp. Referenced by OutputHandler(). |
|
Definition at line 281 of file clientDemo.cpp. Referenced by handleOutput(). |
|
A header for the columns in the data printout is sometimes printed.
Definition at line 295 of file clientDemo.cpp. Referenced by handleBatteryInfo(), and handleOutput(). |
|
Definition at line 278 of file clientDemo.cpp. Referenced by handleOutput(). |
|
Definition at line 280 of file clientDemo.cpp. Referenced by handleOutput(). |
|
Definition at line 276 of file clientDemo.cpp. Referenced by handleOutput(). |
|
Definition at line 277 of file clientDemo.cpp. Referenced by handleOutput(). |
|
Definition at line 279 of file clientDemo.cpp. Referenced by handleOutput(). |
|
Definition at line 274 of file clientDemo.cpp. Referenced by handleOutput(). |
|
Definition at line 275 of file clientDemo.cpp. Referenced by handleOutput(). |