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

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 |
| ArRobot * | myRobot |
| int | myTilt |
| int | myTiltSlew |
| int | myUnitNumber |
Definition at line 94 of file ArAMPTU.h.
|
||||||||||||
|
Constructor.
Definition at line 110 of file ArAMPTU.cpp. |
1.4.0