#include <ArAMPTU.h>
Inheritance diagram for ArAMPTU::
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. |
|
Constructor.
|