#include <LandmarksPercept.h>
Inheritance diagram for Flag:
Public Types | |
pinkAboveYellow | |
pinkAboveSkyblue | |
yellowAbovePink | |
skyblueAbovePink | |
numberOfFlagTypes | |
enum | FlagType { pinkAboveYellow, pinkAboveSkyblue, yellowAbovePink, skyblueAbovePink, numberOfFlagTypes } |
Public Member Functions | |
colorClass | getLowerColor () const |
colorClass | getUpperColor () const |
Public Attributes | |
FlagType | type |
Vector2< double > | position |
double | distanceValidity |
double | angleValidity |
double | distance |
double | angle |
Definition at line 106 of file LandmarksPercept.h.
enum Flag::FlagType |
Definition at line 109 of file LandmarksPercept.h.
colorClass Flag::getLowerColor | ( | ) | const |
The function returns the color of the lower part of this flag.
Definition at line 28 of file LandmarksPercept.cpp.
References pink, pinkAboveSkyblue, pinkAboveYellow, skyblue, type, and yellow.
Referenced by OpenGLMethods::paintLandmarksPerceptToOpenGLList().
colorClass Flag::getUpperColor | ( | ) | const |
The function returns the color of the upper part of this flag.
Definition at line 41 of file LandmarksPercept.cpp.
References pink, skyblue, skyblueAbovePink, type, yellow, and yellowAbovePink.
double Flag::angle |
angle to the flag, relative to robot
Definition at line 125 of file LandmarksPercept.h.
Referenced by GT2004ImageProcessor::execute(), GT2004SelfLocator::getBearing(), CStatisticsDlgBar::handleMessagePercepts(), and GT2004SelfLocator::updateFlagAndGoalBufferByOdometry().
double Flag::angleValidity |
The validity of the determined direction. Not used yet.
Definition at line 119 of file LandmarksPercept.h.
double Flag::distance |
distance to the flag, relative to robot
Definition at line 122 of file LandmarksPercept.h.
Referenced by GT2004SelfLocator::getBearing(), and CStatisticsDlgBar::handleMessagePercepts().
double Flag::distanceValidity |
The validity of the determined distance. Not used yet.
Definition at line 118 of file LandmarksPercept.h.
Vector2<double> Flag::position |
The position of this flag on the field.
Definition at line 117 of file LandmarksPercept.h.
Referenced by LandmarksPercept::addFlag(), and GT2004SelfLocator::getBearing().
The type of this flag.
Definition at line 116 of file LandmarksPercept.h.
Referenced by LandmarksPercept::addFlag(), GT2004SelfLocator::addFlag(), GT2004ImageProcessor::execute(), getLowerColor(), getUpperColor(), CStatisticsDlgBar::handleMessagePercepts(), and LandmarksState::update().