#include <BallModel.h>
Public Member Functions | |
BallState () | |
Constructor. | |
void | reset () |
resets all values to false | |
Public Attributes | |
bool | ballRollsByLeft |
If true, the ball rolls by left in a short distance. | |
bool | ballRollsByRight |
If true, the ball rolls by right in a short distance. | |
bool | ballRollsTowardsRobot |
If true, the ball rolls towards the robot. | |
bool | ballRollsFast |
If true, the ball has a high speed in any direction. | |
double | projectedDistanceOnYAxis |
this is the projected distance of the ball on the Y axis of the robot (in mm) | |
long | timeBallCrossesYAxis |
time in ms which the ball needs to cross the robots y axis |
Definition at line 124 of file BallModel.h.
|
Constructor. Sets all variables to false Definition at line 66 of file BallModel.cpp. References reset(). |
Here is the call graph for this function:
|
resets all values to false
Definition at line 71 of file BallModel.cpp. References ballRollsByLeft, ballRollsByRight, ballRollsFast, ballRollsTowardsRobot, projectedDistanceOnYAxis, and timeBallCrossesYAxis. Referenced by BallState(), GT2004BallLocator::setBallState(), and GT2004BallLocator::setBallStateV2(). |
|
If true, the ball rolls by left in a short distance.
Definition at line 131 of file BallModel.h. Referenced by GT2004BehaviorControl::postExecute(), BallSymbols::registerSymbols(), reset(), GT2004BallLocator::setBallState(), and GT2004BallLocator::setBallStateV2(). |
|
If true, the ball rolls by right in a short distance.
Definition at line 134 of file BallModel.h. Referenced by GT2004BehaviorControl::postExecute(), BallSymbols::registerSymbols(), reset(), GT2004BallLocator::setBallState(), and GT2004BallLocator::setBallStateV2(). |
|
If true, the ball rolls towards the robot.
Definition at line 137 of file BallModel.h. Referenced by GT2004BehaviorControl::postExecute(), BallSymbols::registerSymbols(), reset(), GT2004BallLocator::setBallState(), and GT2004BallLocator::setBallStateV2(). |
|
If true, the ball has a high speed in any direction.
Definition at line 140 of file BallModel.h. Referenced by GT2004BehaviorControl::postExecute(), BallSymbols::registerSymbols(), and reset(). |
|
this is the projected distance of the ball on the Y axis of the robot (in mm)
Definition at line 143 of file BallModel.h. Referenced by BallSymbols::getProjectedDistanceOnYAxis(), reset(), GT2004BallLocator::setBallState(), and GT2004BallLocator::setBallStateV2(). |
|
time in ms which the ball needs to cross the robots y axis
Definition at line 146 of file BallModel.h. Referenced by BallSymbols::getTimeUntilBallCrossesYAxis(), reset(), GT2004BallLocator::setBallState(), and GT2004BallLocator::setBallStateV2(). |