Main Page   Class Hierarchy   Compound List   Compound Members  

ArAMPTU Class Reference

Driver for the AMPUT. More...

#include <ArAMPTU.h>

Inheritance diagram for ArAMPTU::

ArPTZ List of all members.

Public Methods

 ArAMPTU (ArRobot *robot, int unitNumber=0)
 Constructor. More...

virtual ~ArAMPTU (void)
 Destructor.

virtual bool init (void)
 Initializes the camera.

virtual bool pan (int deg)
 Pans to the given degrees.

virtual bool panRel (int deg)
 Pans relative to current position by given degrees.

virtual bool tilt (int deg)
 Tilts to the given degrees.

virtual bool tiltRel (int deg)
 Tilts relative to the current position by given degrees.

virtual bool panTilt (int panDeg, int tiltDeg)
 Pans and tilts to the given degrees.

virtual bool panTiltRel (int panDeg, int tiltDeg)
 Pans and tilts relatives to the current position by the given degrees.

bool panSlew (int deg)
 Sets the rate that the camera pans at.

bool tiltSlew (int deg)
 Sets the rate the camera tilts at.

virtual bool canZoom (void)
 Returns true if camera can zoom (or rather, if it is controlled by this).

virtual int getMaxPosPan (void)
 Gets the highest positive degree the camera can pan to.

virtual int getMaxNegPan (void)
 Gets the lowest negative degree the camera can pan to.

virtual int getMaxPosTilt (void)
 Gets the highest positive degree the camera can tilt to.

virtual int getMaxNegTilt (void)
 Gets the lowest negative degree the camera can tilt to.

bool pause (void)
 Stops current pan/tilt, can be resumed later.

bool resume (void)
 Resumes a previously paused pan/tilt.

bool purge (void)
 Stops motion and purges last command.

bool requestStatus (void)
 Retrieves the camera status.

virtual int getPan (void)
 Gets the angle the camera is panned to.

virtual int getTilt (void)
 Gets the angle the camera is tilted to.


Detailed Description

Driver for the AMPUT.


Constructor & Destructor Documentation

ArAMPTU::ArAMPTU ArRobot   robot,
int    unitNumber = 0
 

Constructor.

Parameters:
robot  the robot to attach to
unitNumber  the unit number for this packet, this needs to be 0-7


The documentation for this class was generated from the following files:
Generated on Tue Nov 12 17:43:50 2002 for Aria by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001