#include <ArRVisionPTZ.h>
Inheritance diagram for ArRVisionPTZ:

Public Types | |
| enum | { MAX_PAN = 180, MIN_PAN = -180, MIN_TILT = -30, MAX_TILT = 60, MIN_ZOOM = 0, MAX_ZOOM = 32767, TILT_OFFSET_IN_DEGREES = 38, PAN_OFFSET_IN_DEGREES = 190 } |
| MAX_PAN = 180 | |
| maximum degrees the unit can pan (clockwise from top) | |
| MAX_TILT = 60 | |
| maximum degrees the unit can tilt | |
| MAX_ZOOM = 32767 | |
| maximum value for zoom | |
| MIN_PAN = -180 | |
| minimum degrees the unit can pan (counterclockwise from top) | |
| MIN_TILT = -30 | |
| minimum degrees the unit can tilt | |
| MIN_ZOOM = 0 | |
| minimum value for zoom | |
| PAN_OFFSET_IN_DEGREES = 190 | |
| offset value to convert internal camera coords to world | |
| TILT_OFFSET_IN_DEGREES = 38 | |
| offset value to convert internal camera coords to world | |
Public Member Functions | |
| ArRVisionPTZ (ArRobot *robot) | |
| virtual bool | canGetFOV (void) |
| virtual bool | canGetRealPanTilt (void) const |
| virtual bool | canGetRealZoom (void) const |
| virtual bool | canZoom (void) const |
| virtual double | getFOVAtMaxZoom (void) |
| Gets the field of view at maximum zoom. | |
| virtual double | getFOVAtMinZoom (void) |
| Gets the field of view at minimum zoom. | |
| virtual double | getMaxNegPan (void) const |
| virtual double | getMaxNegTilt (void) const |
| virtual double | getMaxPosPan (void) const |
| virtual double | getMaxPosTilt (void) const |
| virtual int | getMaxZoom (void) const |
| virtual int | getMinZoom (void) const |
| virtual double | getPan (void) const |
| virtual double | getTilt (void) const |
| virtual int | getZoom (void) const |
| virtual bool | init (void) |
| virtual bool | pan (double degrees) |
| virtual bool | panRel (double degrees) |
| virtual bool | panTilt (double degreesPan, double degreesTilt) |
| virtual bool | panTiltRel (double degreesPan, double degreesTilt) |
| virtual ArBasePacket * | readPacket (void) |
| virtual bool | tilt (double degrees) |
| virtual bool | tiltRel (double degrees) |
| virtual bool | zoom (int zoomValue) |
| virtual bool | zoomRel (int zoomValue) |
Protected Member Functions | |
| void | initializePackets (void) |
Protected Attributes | |
| ArDeviceConnection * | myConn |
| double | myDegToPan |
| double | myDegToTilt |
| ArRVisionPacket | myInquiryPacket |
| ArRVisionPacket | myPacket |
| double | myPan |
| double | myPanOffsetInDegrees |
| ArRVisionPacket | myPanTiltPacket |
| ArRobot * | myRobot |
| double | myTilt |
| double | myTiltOffsetInDegrees |
| int | myZoom |
| ArRVisionPacket | myZoomPacket |
| anonymous enum |
1.4.7