#include <ArServerSimpleCommands.h>
Public Member Functions | |
| ArServerSimpleComGyro (ArServerHandlerCommands *handlerCommands, ArRobot *robot, ArAnalogGyro *gyro) | |
| Constructor. | |
| void | gyroDisable (void) |
| Disables the gyro. | |
| void | gyroEnable (void) |
| Enables the gyro. | |
| virtual | ~ArServerSimpleComGyro () |
| Destructor. | |
Protected Attributes | |
| ArAnalogGyro * | myGyro |
| ArFunctorC< ArServerSimpleComGyro > | myGyroDisableCB |
| ArFunctorC< ArServerSimpleComGyro > | myGyroEnableCB |
| ArServerHandlerCommands * | myHandlerCommands |
| ArRobot * | myRobot |
If you want to see the gyro data if you use the robot's movement received (either ArRobot::setLogMovementReceived or use ArServerSimpleComMovementLogging)
Definition at line 131 of file ArServerSimpleCommands.h.
|
||||||||||||||||
|
Constructor.
Definition at line 350 of file ArServerSimpleCommands.cpp. References ArServerHandlerCommands::addCommand(), myGyro, myGyroDisableCB, myGyroEnableCB, myHandlerCommands, and myRobot. |
|
|
Destructor.
Definition at line 374 of file ArServerSimpleCommands.cpp. |
|
|
Disables the gyro.
Definition at line 386 of file ArServerSimpleCommands.cpp. References ArAnalogGyro::deactivate(), ArRobot::lock(), myGyro, myRobot, and ArRobot::unlock(). |
|
|
Enables the gyro.
Definition at line 378 of file ArServerSimpleCommands.cpp. References ArAnalogGyro::activate(), ArRobot::lock(), myGyro, myRobot, and ArRobot::unlock(). |
|
|
Definition at line 146 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComGyro(), gyroDisable(), and gyroEnable(). |
|
|
Definition at line 149 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComGyro(). |
|
|
Definition at line 148 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComGyro(). |
|
|
Definition at line 147 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComGyro(). |
|
|
Definition at line 145 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComGyro(), gyroDisable(), and gyroEnable(). |
1.4.0