#include <ArServerSimpleCommands.h>
This just calls ArAnalogGyro::activate and ArAnalogGyro::deactivate. If you want to see the gyro data if you use the robot's movement received (either ArRobot::setLogMovementReceived or use ArServerSimpleComMovementLogging)
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 |