#include <ArSonyPTZ.h>
Inheritance diagram for ArSonyPTZ:
Public Types | |
enum | { MAX_PAN = 95, MAX_TILT = 25, MIN_ZOOM = 0, MAX_ZOOM = 1023 } |
Public Member Functions | |
ArSonyPTZ (ArRobot *robot) | |
bool | backLightingOff (void) |
bool | backLightingOn (void) |
virtual bool | canZoom (void) const |
Returns true if camera can zoom (or rather, if it is controlled by this). | |
virtual int | getMaxNegPan (void) const |
Gets the lowest negative degree the camera can pan to. | |
virtual int | getMaxNegTilt (void) const |
Gets the lowest negative degree the camera can tilt to. | |
virtual int | getMaxPosPan (void) const |
Gets the highest positive degree the camera can pan to. | |
virtual int | getMaxPosTilt (void) const |
Gets the highest positive degree the camera can tilt to. | |
virtual int | getMaxZoom (void) const |
Gets the maximum value for the zoom on this camera. | |
virtual int | getMinZoom (void) const |
Gets the lowest value for the zoom on this camera. | |
virtual int | getPan (void) const |
The angle the camera was last told to pan to. | |
virtual int | getTilt (void) const |
The angle the camera was last told to tilt to. | |
virtual int | getZoom (void) const |
The value the camera was last told to zoom to. | |
virtual bool | init (void) |
Initializes the camera. | |
virtual bool | pan (int degrees) |
Pans to the given degrees. | |
virtual bool | panRel (int degrees) |
Pans relative to current position by given degrees. | |
virtual bool | panTilt (int degreesPan, int degreesTilt) |
Pans and tilts to the given degrees. | |
virtual bool | panTiltRel (int degreesPan, int degreesTilt) |
Pans and tilts relatives to the current position by the given degrees. | |
virtual bool | tilt (int degrees) |
Tilts to the given degrees. | |
virtual bool | tiltRel (int degrees) |
Tilts relative to the current position by given degrees. | |
virtual bool | zoom (int zoomValue) |
Zooms to the given value. | |
virtual bool | zoomRel (int zoomValue) |
Zooms relative to the current value, by the given value. | |
Protected Member Functions | |
void | initializePackets (void) |
Protected Attributes | |
double | myDegToPan |
double | myDegToTilt |
ArSonyPacket | myPacket |
int | myPan |
ArSonyPacket | myPanTiltPacket |
ArRobot * | myRobot |
int | myTilt |
int | myZoom |
ArSonyPacket | myZoomPacket |
Definition at line 56 of file ArSonyPTZ.h.
|
Definition at line 86 of file ArSonyPTZ.h. |