#include <SpecialPercept.h>
Collaboration diagram for OCRedLine:
Public Member Functions | |
OCRedLine () | |
Constructor. | |
void | addPercept (Vector2< int > lineStart, Vector2< int > lineEnd, Vector2< int > pointStart, Vector2< int > pointEnd, int angleInImage) |
method to add a new percept | |
Public Attributes | |
bool | seen |
flag to know if red Line has been seen or not | |
Vector2< int > | lineStart |
Startpoint and endpont of red line The startpoint is nearer to the robot e.g. | |
Vector2< int > | lineEnd |
Vector2< int > | pointStart |
Vector2< int > | pointEnd |
int | angleInImage |
unsigned long | timeWhenLastSeen |
Definition at line 161 of file SpecialPercept.h.
|
Constructor.
Definition at line 65 of file SpecialPercept.cpp. References angleInImage, lineEnd, lineStart, Vector2< int >::x, and Vector2< int >::y. |
|
method to add a new percept
Definition at line 75 of file SpecialPercept.cpp. References SystemCall::getCurrentSystemTime(). Referenced by RFieldSpecialist::checkRamp(). |
Here is the call graph for this function:
|
flag to know if red Line has been seen or not
Definition at line 168 of file SpecialPercept.h. |
|
Startpoint and endpont of red line The startpoint is nearer to the robot e.g. on the bottom of the image Definition at line 173 of file SpecialPercept.h. Referenced by OpenChallengeSymbols::getRampDistanceToStartPoint(), OpenChallengeSymbols::getRampLowestLinePointX(), OpenChallengeSymbols::getRampLowestLinePointY(), OpenChallengeSymbols::getSeenDistanceToRedLine(), OCRedLine(), operator<<(), operator>>(), and OpenChallengeSymbols::redLineAngle(). |
|
Definition at line 174 of file SpecialPercept.h. Referenced by OpenChallengeSymbols::getRampHighestLinePointX(), OpenChallengeSymbols::getRampHighestLinePointY(), OCRedLine(), operator<<(), and operator>>(). |
|
Definition at line 175 of file SpecialPercept.h. |
|
Definition at line 176 of file SpecialPercept.h. |
|
Definition at line 177 of file SpecialPercept.h. Referenced by OpenChallengeSymbols::getRampAngleOfRedLine(), OCRedLine(), operator<<(), operator>>(), and OpenChallengeSymbols::redLineInImageAngle(). |
|
Definition at line 178 of file SpecialPercept.h. Referenced by OpenChallengeSymbols::getRampTimeSinceLastSeen(), OpenChallengeSymbols::getTimeSinceLastSeenRedLine(), operator<<(), and operator>>(). |