Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PropagatedBallPosition Class Reference

The position of the ball estimated from own observations and the observed ball speed; it is propagated even if the ball is not seen. More...

#include <BallModel.h>

Inheritance diagram for PropagatedBallPosition:

Inheritance graph
[legend]
Collaboration diagram for PropagatedBallPosition:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PropagatedBallPosition ()
 Constructor.

Vector2< double > getPropagatedPosition (long time) const
Vector2< double > getPropagatedSpeed (long time) const

Public Attributes

Vector2< double > speed
 The speed of the ball estimated from propagations and last speed.

long timeOfObservation
Vector2< double > positionWhenLastObserved
Vector2< double > observedSpeed

Detailed Description

The position of the ball estimated from own observations and the observed ball speed; it is propagated even if the ball is not seen.

Definition at line 79 of file BallModel.h.


Constructor & Destructor Documentation

PropagatedBallPosition::PropagatedBallPosition  ) 
 

Constructor.

Definition at line 38 of file BallModel.cpp.

References observedSpeed, positionWhenLastObserved, timeOfObservation, Vector2< double >::x, and Vector2< double >::y.


Member Function Documentation

Vector2< double > PropagatedBallPosition::getPropagatedPosition long  time  )  const
 

Definition at line 52 of file BallModel.cpp.

References positionWhenLastObserved.

Vector2< double > PropagatedBallPosition::getPropagatedSpeed long  time  )  const
 

Definition at line 58 of file BallModel.cpp.


Member Data Documentation

Vector2<double> PropagatedBallPosition::speed
 

The speed of the ball estimated from propagations and last speed.

Definition at line 86 of file BallModel.h.

long PropagatedBallPosition::timeOfObservation
 

Definition at line 91 of file BallModel.h.

Referenced by GT2004BallLocator::handleSeenBall(), GT2004BallLocator::handleUnseenBall(), and PropagatedBallPosition().

Vector2<double> PropagatedBallPosition::positionWhenLastObserved
 

Definition at line 92 of file BallModel.h.

Referenced by getPropagatedPosition(), GT2004BallLocator::handleSeenBall(), GT2004BallLocator::handleUnseenBall(), and PropagatedBallPosition().

Vector2<double> PropagatedBallPosition::observedSpeed
 

Definition at line 93 of file BallModel.h.

Referenced by GT2004BallLocator::handleSeenBall(), GT2004BallLocator::handleUnseenBall(), and PropagatedBallPosition().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:10:55 2004 for GT2004 by doxygen 1.3.6