#include <ChallengeSymbols.h>
Inheritance diagram for ChallengeSymbols:


Public Member Functions | |
| ChallengeSymbols (const BehaviorControlInterfaces &interfaces) | |
| void | registerSymbols (Xabsl2Engine &engine) |
| registers the symbols at an engine | |
| void | update () |
| updates the symbols | |
| void | challenge2Swap (Pose2D *p, int i, int j) |
| void | challenge2ShortestPermutation (Pose2D *p, int n, double &minLength) |
| void | challenge2ShortestPath () |
| void | challenge2OptimalRotation (Pose2D &pose) |
| double | _challenge2TargetPositionX () |
| Returns x coordinate of target position with current index. | |
| double | _challenge2TargetPositionY () |
| Returns y coordinate of target position with current index. | |
| double | _challenge2TargetPositionRotation () |
| Returns rotation of target position with current index. | |
| double | challenge2TargetPositionX (double index) |
| Returns x coordinate of target position with current index. | |
| double | challenge2TargetPositionY (double index) |
| Returns y coordinate of target position with current index. | |
| double | challenge2TargetPositionRotation (double index) |
| Returns rotation of target position with current index. | |
| double | imageCharacteristicsAvgY () |
| double | imageCharacteristicsAvgU () |
| double | imageCharacteristicsAvgV () |
| double | getProbableOrientation () |
| double | getTimeSinceCenterCircleVisible () |
Private Attributes | |
| Pose2D | targetPositions [5] |
| The 5 target positions for the localization challenge. | |
| double | index |
| the index for targetPosition? functions | |
| double | lastIndex |
| The index of the previous call. | |
| unsigned long | lastSeenCenterCircle |
| double | timeSinceLastCenterCircle |
Definition at line 20 of file ChallengeSymbols.h.
|
|
Definition at line 17 of file ChallengeSymbols.cpp. References challenge2OptimalRotation(), InFile::exists(), getPlayer(), Player::getTeamColor(), targetPositions, Pose2D::translation, and Vector2< double >::x. |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
updates the symbols
Definition at line 114 of file ChallengeSymbols.cpp. |
|
||||||||||||||||
|
Definition at line 222 of file ChallengeSymbols.cpp. Referenced by challenge2ShortestPermutation(). |
|
||||||||||||||||
|
Definition at line 200 of file ChallengeSymbols.cpp. References challenge2Swap(), targetPositions, and Pose2D::translation. Referenced by challenge2ShortestPath(). |
Here is the call graph for this function:

|
|
Definition at line 186 of file ChallengeSymbols.cpp. References challenge2ShortestPermutation(), and targetPositions. Referenced by challenge2TargetPositionRotation(), challenge2TargetPositionX(), and challenge2TargetPositionY(). |
Here is the call graph for this function:

|
|
Definition at line 167 of file ChallengeSymbols.cpp. References pi, pi_2, Pose2D::rotation, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by ChallengeSymbols(). |
|
|
Returns x coordinate of target position with current index.
Definition at line 118 of file ChallengeSymbols.cpp. References challenge2TargetPositionX(). Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
Returns y coordinate of target position with current index.
Definition at line 123 of file ChallengeSymbols.cpp. References challenge2TargetPositionY(). Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
Returns rotation of target position with current index.
Definition at line 128 of file ChallengeSymbols.cpp. References challenge2TargetPositionRotation(). Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
Returns x coordinate of target position with current index.
Definition at line 133 of file ChallengeSymbols.cpp. References challenge2ShortestPath(), targetPositions, Pose2D::translation, and Vector2< double >::x. Referenced by _challenge2TargetPositionX(), and GT2005BehaviorControl::drawOptions(). |
Here is the call graph for this function:

|
|
Returns y coordinate of target position with current index.
Definition at line 139 of file ChallengeSymbols.cpp. References challenge2ShortestPath(), targetPositions, Pose2D::translation, and Vector2< double >::y. Referenced by _challenge2TargetPositionY(), and GT2005BehaviorControl::drawOptions(). |
Here is the call graph for this function:

|
|
Returns rotation of target position with current index.
Definition at line 145 of file ChallengeSymbols.cpp. References challenge2ShortestPath(), targetPositions, and toDegrees(). Referenced by _challenge2TargetPositionRotation(). |
Here is the call graph for this function:

|
|
Definition at line 151 of file ChallengeSymbols.cpp. References SpecialPercept::slamData. |
|
|
Definition at line 156 of file ChallengeSymbols.cpp. References SpecialPercept::slamData. |
|
|
Definition at line 161 of file ChallengeSymbols.cpp. References SpecialPercept::slamData. |
|
|
Definition at line 229 of file ChallengeSymbols.cpp. Referenced by registerSymbols(). |
|
|
|
|
|
The 5 target positions for the localization challenge.
Definition at line 55 of file ChallengeSymbols.h. Referenced by challenge2ShortestPath(), challenge2ShortestPermutation(), challenge2TargetPositionRotation(), challenge2TargetPositionX(), challenge2TargetPositionY(), and ChallengeSymbols(). |
|
|
the index for targetPosition? functions
Definition at line 56 of file ChallengeSymbols.h. |
|
|
The index of the previous call.
Definition at line 56 of file ChallengeSymbols.h. |
|
|
Definition at line 59 of file ChallengeSymbols.h. Referenced by registerSymbols(). |
|
|
Definition at line 60 of file ChallengeSymbols.h. |
1.3.6