Aria
2.8.0
|
Mode for controlling the camera. More...
#include <ArModes.h>
Inherits ArMode.
Public Member Functions | |
virtual void | activate (void) |
void | amptu (void) |
void | amptuSerial (void) |
ArModeCamera (ArRobot *robot, const char *name, char key, char key2) | |
Constructor. | |
void | aux1 (void) |
void | aux2 (void) |
void | canon (void) |
void | canonInverted (void) |
void | canonInvertedSerial (void) |
void | canonSerial (void) |
void | center (void) |
void | com1 (void) |
void | com2 (void) |
void | com3 (void) |
void | com4 (void) |
virtual void | deactivate (void) |
void | down (void) |
void | dpptu (void) |
void | dpptuSerial (void) |
void | exercise (void) |
virtual void | help (void) |
void | left (void) |
void | right (void) |
void | rvisionSerial (void) |
void | sony (void) |
void | sonySerial (void) |
void | up (void) |
virtual void | userTask (void) |
void | zoomIn (void) |
void | zoomOut (void) |
virtual | ~ArModeCamera () |
Destructor. | |
Public Member Functions inherited from ArMode | |
ArMode (ArRobot *robot, const char *name, char key, char key2) | |
Constructor. More... | |
bool | baseActivate (void) |
The base activation, it MUST be called by inheriting classes, and inheriting classes MUST return if this returns false. More... | |
bool | baseDeactivate (void) |
The base deactivation, it MUST be called by inheriting classes, and inheriting classes MUST return if this returns false. More... | |
char | getKey (void) |
An internal function to get the first key this is bound to. | |
char | getKey2 (void) |
An internal function to get the second key this is bound to. | |
const char * | getName (void) |
Gets the name of the mode. | |
virtual | ~ArMode () |
Destructor. | |
Protected Types | |
enum | ExerState { CENTER, UP_LEFT, UP_RIGHT, DOWN_RIGHT, DOWN_LEFT } |
enum | State { STATE_CAMERA, STATE_PORT, STATE_MOVEMENT } |
Protected Member Functions | |
void | auxToMovement (void) |
void | cameraToAux (void) |
void | cameraToMovement (void) |
void | cameraToPort (void) |
void | giveUpAuxKeys (void) |
void | giveUpCameraKeys (void) |
void | giveUpMovementKeys (void) |
void | giveUpPortKeys (void) |
void | helpAuxKeys (void) |
void | helpCameraKeys (void) |
void | helpMovementKeys (void) |
void | helpPortKeys (void) |
void | portToMovement (void) |
void | takeAuxKeys (void) |
void | takeCameraKeys (void) |
void | takeMovementKeys (void) |
void | takePortKeys (void) |
Protected Member Functions inherited from ArMode | |
void | addKeyHandler (int keyToHandle, ArFunctor *functor) |
void | remKeyHandler (ArFunctor *functor) |
Protected Attributes | |
ArFunctorC< ArModeCamera > | myAmptuCB |
ArFunctorC< ArModeCamera > | myAmptuSerialCB |
ArFunctorC< ArModeCamera > | myAux1CB |
ArFunctorC< ArModeCamera > | myAux2CB |
ArPTZ * | myCam |
ArFunctorC< ArModeCamera > | myCanonCB |
ArFunctorC< ArModeCamera > | myCanonInvertedCB |
ArFunctorC< ArModeCamera > | myCanonInvertedSerialCB |
ArFunctorC< ArModeCamera > | myCanonSerialCB |
ArFunctorC< ArModeCamera > | myCenterCB |
ArFunctorC< ArModeCamera > | myCom1CB |
ArFunctorC< ArModeCamera > | myCom2CB |
ArFunctorC< ArModeCamera > | myCom3CB |
ArFunctorC< ArModeCamera > | myCom4CB |
ArSerialConnection | myConn |
ArFunctorC< ArModeCamera > | myDownCB |
ArFunctorC< ArModeCamera > | myDpptuCB |
ArFunctorC< ArModeCamera > | myDpptuSerialCB |
ArFunctorC< ArModeCamera > | myExerciseCB |
bool | myExercising |
ExerState | myExerState |
bool | myExerZoomedIn |
ArTime | myLastExer |
ArTime | myLastExerZoomed |
ArFunctorC< ArModeCamera > | myLeftCB |
const int | myPanAmount |
ArFunctorC< ArModeCamera > | myRightCB |
ArFunctorC< ArModeCamera > | myRVisionSerialCB |
ArFunctorC< ArModeCamera > | mySonyCB |
ArFunctorC< ArModeCamera > | mySonySerialCB |
State | myState |
const int | myTiltAmount |
ArFunctorC< ArModeCamera > | myUpCB |
ArFunctorC< ArModeCamera > | myZoomInCB |
ArFunctorC< ArModeCamera > | myZoomOutCB |
Protected Attributes inherited from ArMode | |
ArFunctorC< ArMode > | myActivateCB |
ArFunctorC< ArMode > | myDeactivateCB |
char | myKey |
char | myKey2 |
std::string | myName |
ArRobot * | myRobot |
ArFunctorC< ArMode > | myUserTaskCB |
Additional Inherited Members | |
Static Public Member Functions inherited from ArMode | |
static void | baseHelp (void) |
This is the base help function, its internal, bound to ? and h and H. | |
Static Protected Attributes inherited from ArMode | |
static ArMode * | ourActiveMode = NULL |
static ArGlobalFunctor * | ourHelpCB = NULL |
static std::list< ArMode * > | ourModes |
Mode for controlling the camera.