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

# GT2005BasicBehaviorLocateMaxGreen Class Reference

`#include <GT2005SimpleBasicBehaviors.h>`

Inheritance diagram for GT2005BasicBehaviorLocateMaxGreen:

[legend]
Collaboration diagram for GT2005BasicBehaviorLocateMaxGreen:

[legend]
List of all members.

## Public Member Functions
| GT2005BasicBehaviorLocateMaxGreen (BehaviorControlInterfaces &interfaces, Xabsl2ErrorHandler &errorHandler)
virtual void | execute ()
| Executes the basic behavior.
## Private Member Functions
void | Init ()
## Private Attributes
OdometryData | lastOdometry
double | rotationAngle
double | param

## Constructor & Destructor Documentation

GT2005BasicBehaviorLocateMaxGreen::GT2005BasicBehaviorLocateMaxGreen | ( | BehaviorControlInterfaces & | interfaces,
|  | Xabsl2ErrorHandler & | errorHandler
| ) | `[inline]`

| Definition at line 979 of file GT2005SimpleBasicBehaviors.h. References Init(), max, param, and Xabsl2BasicBehavior::registerParameter().

Here is the call graph for this function:

## Member Function Documentation

void GT2005BasicBehaviorLocateMaxGreen::execute | ( |  | ) | `[virtual]`

| Executes the basic behavior. Implements Xabsl2BasicBehavior. Definition at line 1491 of file GT2005SimpleBasicBehaviors.cpp. References fromDegrees(), HeadControlMode::headControlMode, Init(), HeadControlMode::lookStraightAhead, MotionRequest::motionType, param, pi, pi2, Pose2D::rotation, slamPercept, MotionRequest::walk, WalkRequest::walkParams, and MotionRequest::walkRequest.

Here is the call graph for this function:

void GT2005BasicBehaviorLocateMaxGreen::Init | ( |  | ) | `[private]`

| Definition at line 1475 of file GT2005SimpleBasicBehaviors.cpp. References Pose2D::rotation, slamPercept, Pose2D::translation, WalkRequest::walkParams, MotionRequest::walkRequest, Vector2< double >::x, and Vector2< double >::y. Referenced by execute(), and GT2005BasicBehaviorLocateMaxGreen().

## Member Data Documentation

OdometryData GT2005BasicBehaviorLocateMaxGreen::lastOdometry`[private]`

| Definition at line 993 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorLocateMaxGreen::rotationAngle`[private]`

| Definition at line 995 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorLocateMaxGreen::param`[private]`

| Definition at line 997 of file GT2005SimpleBasicBehaviors.h. Referenced by execute(), and GT2005BasicBehaviorLocateMaxGreen().

The documentation for this class was generated from the following files:

- Modules/BehaviorControl/GT2005BehaviorControl/GT2005BasicBehaviors/GT2005SimpleBasicBehaviors.h
- Modules/BehaviorControl/GT2005BehaviorControl/GT2005BasicBehaviors/GT2005SimpleBasicBehaviors.cpp