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

HeadControlMode Class Reference

Stores head modes requested by BehaviorControl. More...

#include <HeadControlMode.h>

List of all members.

Public Types

enum  HeadControlModes {
  none, searchForBall, searchAuto,
  searchForLandmarks, searchForLandmarksHeadLow, lookBetweenFeet,
  lookLeft, lookRight, lookStraightAhead,
  catchBall, releaseCaughtBallWhenTurningLeft, releaseCaughtBallWhenTurningRight,
  stayAsForced, lookToStars, lookParallelToGround,
  lookTowardOpponentGoal, direct, calibrate,
  calibrateHeadSpeed, watchOrigin, openChallengePullBridge,
  openChallengeCheckBite, openChallengeTest, openChallengeTest2,
  openChallengeGoToBridge, openChallengeJoysickMode, openChallengeReset,
  openChallengeLookAtRedLineStart, searchForBallLeft, searchForBallRight,
  numOfHeadControlModes
}
 possible head control modes More...


Public Member Functions

 HeadControlMode ()
 constructor

 ~HeadControlMode ()
 destructor


Static Public Member Functions

const char * getHeadControlModeName (HeadControlModes mode)
 Returns the name of a HeadTrackMode.


Public Attributes

HeadControlModes headControlMode
 The requested head control mode.

long directTilt
 Parameters for direct mode.

long directPan
 Parameters for direct mode.

long directRoll
 Parameters for direct mode.

long directSpeed
 Parameters for direct mode.

long directMouth
 Parameters for direct mode.


Detailed Description

Stores head modes requested by BehaviorControl.

Definition at line 24 of file HeadControlMode.h.


Member Enumeration Documentation

enum HeadControlMode::HeadControlModes
 

possible head control modes

Enumeration values:
none 
searchForBall 
searchAuto 
searchForLandmarks 
searchForLandmarksHeadLow 
lookBetweenFeet 
lookLeft 
lookRight 
lookStraightAhead 
catchBall 
releaseCaughtBallWhenTurningLeft 
releaseCaughtBallWhenTurningRight 
stayAsForced 
lookToStars 
lookParallelToGround 
lookTowardOpponentGoal 
direct 
calibrate 
calibrateHeadSpeed 
watchOrigin 
openChallengePullBridge 
openChallengeCheckBite 
openChallengeTest 
openChallengeTest2 
openChallengeGoToBridge 
openChallengeJoysickMode 
openChallengeReset 
openChallengeLookAtRedLineStart 
searchForBallLeft 
searchForBallRight 
numOfHeadControlModes 

Definition at line 34 of file HeadControlMode.h.


Constructor & Destructor Documentation

HeadControlMode::HeadControlMode  ) 
 

constructor

Definition at line 16 of file HeadControlMode.cpp.

HeadControlMode::~HeadControlMode  ) 
 

destructor

Definition at line 21 of file HeadControlMode.cpp.


Member Function Documentation

const char* HeadControlMode::getHeadControlModeName HeadControlModes  mode  )  [inline, static]
 

Returns the name of a HeadTrackMode.

Definition at line 77 of file HeadControlMode.h.

References calibrate, calibrateHeadSpeed, catchBall, direct, lookBetweenFeet, lookLeft, lookParallelToGround, lookRight, lookStraightAhead, lookToStars, lookTowardOpponentGoal, none, openChallengeCheckBite, openChallengeGoToBridge, openChallengeJoysickMode, openChallengeLookAtRedLineStart, openChallengePullBridge, openChallengeReset, openChallengeTest, openChallengeTest2, releaseCaughtBallWhenTurningLeft, releaseCaughtBallWhenTurningRight, searchAuto, searchForBall, searchForBallLeft, searchForBallRight, searchForLandmarks, searchForLandmarksHeadLow, stayAsForced, and watchOrigin.


Member Data Documentation

HeadControlModes HeadControlMode::headControlMode
 

The requested head control mode.

Definition at line 74 of file HeadControlMode.h.

Referenced by SimpleMotionRecognition::execute(), ObstacleAvoiderOnGreenFieldERS7::execute(), ObstacleAvoiderOnGreenField::execute(), MotionRecognition::execute(), ImageSaver::execute(), BB2004Calibrator::execute(), GT2004HeadControl::execute(), GT2004BasicBehaviorMeasureGT2004ParametersBlind::execute(), ImageSaver::ImageSaver(), GT2004BehaviorControl::postExecute(), GT2004BehaviorControl::preExecute(), and GT2004HeadControlSymbols::registerSymbols().

long HeadControlMode::directTilt
 

Parameters for direct mode.

Definition at line 120 of file HeadControlMode.h.

Referenced by SimpleMotionRecognition::execute(), and SimpleMotionRecognition::searchTilt().

long HeadControlMode::directPan
 

Parameters for direct mode.

Definition at line 120 of file HeadControlMode.h.

Referenced by SimpleMotionRecognition::execute(), and SimpleMotionRecognition::searchPan().

long HeadControlMode::directRoll
 

Parameters for direct mode.

Definition at line 120 of file HeadControlMode.h.

Referenced by SimpleMotionRecognition::execute().

long HeadControlMode::directSpeed
 

Parameters for direct mode.

Definition at line 120 of file HeadControlMode.h.

long HeadControlMode::directMouth
 

Parameters for direct mode.

Definition at line 120 of file HeadControlMode.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:08:24 2004 for GT2004 by doxygen 1.3.6