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

ArAMPTU Class Reference

#include <ArAMPTU.h>

Inheritance diagram for ArAMPTU:

ArPTZ List of all members.

Detailed Description

Driver for the AMPUT.


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
virtual double getMaxNegPan (void) const
virtual double getMaxNegTilt (void) const
virtual double getMaxPosPan (void) const
virtual double getMaxPosTilt (void) const
virtual double getPan (void) const
 Gets the angle the camera is panned to.
virtual double getTilt (void) const
 Gets the angle the camera is tilted to.
virtual bool init (void)
virtual bool pan (double deg)
virtual bool panRel (double deg)
bool panSlew (double deg)
 Sets the rate that the camera pans at.
virtual bool panTilt (double panDeg, double tiltDeg)
virtual bool panTiltRel (double panDeg, double tiltDeg)
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 (double deg)
virtual bool tiltRel (double deg)
bool tiltSlew (double deg)
 Sets the rate the camera tilts at.
virtual ~ArAMPTU ()
 Destructor.

Protected Attributes

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


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 Thu Jan 7 10:34:40 2010 for Aria by  doxygen 1.4.2