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

ArAMPTU Class Reference

Driver for the AMPUT. More...

#include <ArAMPTU.h>

Inheritance diagram for ArAMPTU:

ArPTZ List of all members.

Public Types

enum  { MIN_SLEW = 15, MAX_TILT_SLEW = 200, MAX_PAN_SLEW = 120 }

Public Member Functions

 ArAMPTU (ArRobot *robot, int unitNumber=0)
 Constructor.
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 getPan (void) const
 Gets the angle the camera is panned to.
virtual int getTilt (void) const
 Gets the angle the camera is tilted to.
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.
bool panSlew (int deg)
 Sets the rate that the camera pans at.
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 pause (void)
 Stops current pan/tilt, can be resumed later.
bool purge (void)
 Stops motion and purges last command.
bool requestStatus (void)
 Retrieves the camera status.
bool resume (void)
 Resumes a previously paused pan/tilt.
virtual bool tilt (int deg)
 Tilts to the given degrees.
virtual bool tiltRel (int deg)
 Tilts relative to the current position by given degrees.
bool tiltSlew (int deg)
 Sets the rate the camera tilts at.
virtual ~ArAMPTU ()
 Destructor.

Protected Attributes

ArAMPTUPacket myPacket
int myPan
int myPanSlew
ArRobotmyRobot
int myTilt
int myTiltSlew
int myUnitNumber

Detailed Description

Driver for the AMPUT.

Definition at line 94 of file ArAMPTU.h.


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

Definition at line 110 of file ArAMPTU.cpp.


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