#include <BallModel.h>
Inheritance diagram for SeenBallPosition:
Public Member Functions | |
SeenBallPosition () | |
Constructor. | |
long | getConsecutivelySeenTime () const |
If this is positive, we see the ball for that time consecutively. | |
SeenBallPosition & | operator= (const Vector2< double > &other) |
Assignment operator for Vector2<double>. | |
Public Attributes | |
Vector2< double > | speed |
The speed of the ball estimated from own observations. | |
unsigned long | timeWhenLastSeen |
The time when the ball was last seen by the own camera. | |
unsigned long | timeWhenFirstSeenConsecutively |
The time when the ball was last seen consecutively, i.e. | |
unsigned long | timeUntilSeenConsecutively |
The time until the ball has been seen consecutively, i.e. | |
bool | ballInFrontOfOpponentGoal |
double | distanceError |
double | angleError |
Definition at line 22 of file BallModel.h.
|
Constructor.
Definition at line 17 of file BallModel.cpp. |
|
If this is positive, we see the ball for that time consecutively. If this is negative, we have not seen the ball consecutively for -that time. Definition at line 25 of file BallModel.cpp. References SystemCall::getTimeSince(), timeUntilSeenConsecutively, and timeWhenFirstSeenConsecutively. |
Here is the call graph for this function:
|
Assignment operator for Vector2<double>.
Reimplemented from Vector2< double >. Definition at line 67 of file BallModel.h. References Vector2< V >::x, and Vector2< V >::y. |
|
The speed of the ball estimated from own observations.
Definition at line 29 of file BallModel.h. Referenced by GT2004HeadControlSymbols::getBallSpeedAbs(), GT2004HeadControlSymbols::getRelativeBallSpeedX(), GT2004HeadControlSymbols::getRelativeBallSpeedY(), BallSymbols::getSeenRelativeSpeedX(), BallSymbols::getSeenRelativeSpeedY(), BallSymbols::getSeenSpeed(), and GT2004BallLocator::handleSeenBall(). |
|
The time when the ball was last seen by the own camera. "position" and speed were set at that point in time. Definition at line 35 of file BallModel.h. Referenced by GT2004ObstaclesLocator::addPSDPercept(), GT2004StrategySymbols::computeRole(), GT2004StrategySymbols::estimateTimeToReachBall(), GT2004TeamBallLocator::execute(), KickLogger::execute(), GT2004HeadControlSymbols::getBallTimeSinceLastSeen(), BallSymbols::getJustSeen(), BallModel::getKnownPosition(), BallModel::getTimeSinceLastKnown(), BallSymbols::getTimeSinceLastSeen(), GT2004BallLocator::handleSeenBall(), GT2004BehaviorControl::preExecute(), and GTStandardConverter::setData(). |
|
The time when the ball was last seen consecutively, i.e. it has been seen "a lot" but not necessarily in all frames; gaps of n frames or more are okay Definition at line 42 of file BallModel.h. Referenced by GT2004HeadControlSymbols::getBallConsecutivelySeenTime(), getConsecutivelySeenTime(), BallSymbols::getConsecutivelySeenTime(), GT2004BallLocator::handleSeenBall(), and KickSelectionSymbols::retrieveKick(). |
|
The time until the ball has been seen consecutively, i.e. it has been seen "a lot" but not necessarily in all frames until the time stored here; Definition at line 49 of file BallModel.h. Referenced by GT2004HeadControlSymbols::getBallConsecutivelySeenTime(), getConsecutivelySeenTime(), BallSymbols::getConsecutivelySeenTime(), GT2004HeadControlSymbols::getTimeSinceLastSeenConsecutively(), BallSymbols::getTimeSinceLastSeenConsecutively(), GT2004BallLocator::handleSeenBall(), and KickSelectionSymbols::retrieveKick(). |
|
Definition at line 51 of file BallModel.h. Referenced by GT2004StrategySymbols::computeRole(), GT2004BallLocator::execute(), and BallSymbols::getBallSeenInFrontOfOpponentGoal(). |
|
Definition at line 59 of file BallModel.h. Referenced by GT2004BallLocator::execute(). |
|
Definition at line 61 of file BallModel.h. Referenced by GT2004BallLocator::execute(). |