ArActionColorFollow Class Reference

#include <ArActionColorFollow.h>

Inheritance diagram for ArActionColorFollow:

ArAction List of all members.

Detailed Description

ArActionColorFollow is an action that moves the robot toward the largest blob that appears in it's current field of view.


Public Types

 ACQUIRING
 CENTER
 FOLLOWING
 LEFT
enum  LocationState { LEFT, RIGHT, CENTER }
enum  MoveState { FOLLOWING, ACQUIRING, STOPPED }
 NO_TARGET
 RIGHT
 STOPPED
 TARGET
enum  TargetState { NO_TARGET, TARGET }

Public Member Functions

 ArActionColorFollow (const char *name, ArACTS_1_2 *acts, ArPTZ *camera, double speed=200, int width=160, int height=120)
virtual ArActionDesiredfire (ArActionDesired currentDesired)
bool getAcquire ()
bool getBlob ()
int getChannel ()
virtual const ArActionDesiredgetDesired (void) const
virtual ArActionDesiredgetDesired (void)
bool getMovement ()
void setAcquire (bool acquire)
void setCamera (ArPTZ *camera)
bool setChannel (int channel)
void startMovement (void)
void stopMovement (void)

Protected Attributes

bool killMovement
bool myAcquire
ArACTS_1_2myActs
ArPTZmyCamera
int myChannel
ArActionDesired myDesired
int myHeight
ArTime myLastSeen
LocationState myLocation
int myMaxTime
MoveState myMove
double mySpeed
TargetState myState
int myWidth


The documentation for this class was generated from the following files:
Generated on Fri Jul 31 12:36:38 2009 for Aria by  doxygen 1.4.7