Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

ArSonyPTZ Class Reference

A class to use the sony pan tilt zoom unit. More...

#include <ArSonyPTZ.h>

Inheritance diagram for ArSonyPTZ:

ArPTZ List of all members.

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
ArRobotmyRobot
int myTilt
int myZoom
ArSonyPacket myZoomPacket

Detailed Description

A class to use the sony pan tilt zoom unit.

Definition at line 56 of file ArSonyPTZ.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
MAX_PAN  maximum degrees the unit can pan (either direction)
MAX_TILT  maximum degrees the unit can tilt (either direction)
MIN_ZOOM  minimum value for zoom
MAX_ZOOM  maximum value for zoom

Definition at line 86 of file ArSonyPTZ.h.


The documentation for this class was generated from the following files:
Generated on Wed Oct 19 12:56:55 2005 for Aria by  doxygen 1.4.0