#include <LandmarksPercept.h>
Inheritance diagram for Flag:


Public Types | |
| enum | FlagType { pinkAboveYellow, pinkAboveSkyblue, yellowAbovePink, skyblueAbovePink, numberOfFlagTypes } |
Public Member Functions | |
| colorClass | getLowerColor () const |
| The function returns the color of the lower part of this flag. | |
| colorClass | getUpperColor () const |
| The function returns the color of the upper part of this flag. | |
Public Attributes | |
| FlagType | type |
| The type of this flag. | |
| Vector2< double > | position |
| The position of this flag on the field. | |
| double | distanceValidity |
| The validity of the determined distance. | |
| double | angleValidity |
| The validity of the determined direction. | |
| double | distance |
| distance to the flag, relative to robot | |
| double | angle |
| angle to the flag, relative to robot | |
Definition at line 97 of file LandmarksPercept.h.
|
|
Definition at line 100 of file LandmarksPercept.h. |
|
|
The function returns the color of the lower part of this flag.
Definition at line 21 of file LandmarksPercept.cpp. References colorClass, pinkAboveSkyblue, and pinkAboveYellow. |
|
|
The function returns the color of the upper part of this flag.
Definition at line 34 of file LandmarksPercept.cpp. References colorClass, and yellowAbovePink. |
|
|
The type of this flag.
Definition at line 107 of file LandmarksPercept.h. Referenced by LandmarksPercept::addFlag(), GT2004SelfLocator::addFlag(), and LandmarksState::update(). |
|
|
The position of this flag on the field.
Definition at line 108 of file LandmarksPercept.h. Referenced by LandmarksPercept::addFlag(), GT2004SelfLocator::execute(), and GT2004SelfLocator::getBearing(). |
|
|
The validity of the determined distance. Not used yet. Definition at line 109 of file LandmarksPercept.h. Referenced by LandmarksPercept::estimateOffsetForFlags(), and GT2004FlagSpecialist::estimateOffsetForFlags(). |
|
|
The validity of the determined direction. Not used yet. Definition at line 110 of file LandmarksPercept.h. Referenced by LandmarksPercept::estimateOffsetForFlags(), and GT2004FlagSpecialist::estimateOffsetForFlags(). |
|
|
distance to the flag, relative to robot
Definition at line 113 of file LandmarksPercept.h. Referenced by LandmarksPercept::estimateOffsetForFlags(), GT2004FlagSpecialist::estimateOffsetForFlags(), GT2004SelfLocator::generatePoseTemplates(), and GT2004SelfLocator::getBearing(). |
|
|
angle to the flag, relative to robot
Definition at line 116 of file LandmarksPercept.h. Referenced by LandmarksPercept::estimateOffsetForFlags(), GT2004FlagSpecialist::estimateOffsetForFlags(), GT2004SelfLocator::generatePoseTemplates(), and GT2004SelfLocator::getBearing(). |
1.3.6