uwcse.location.core
Class StaticTracker

java.lang.Object
  |
  +--uwcse.location.core.Tracker
        |
        +--uwcse.location.core.StaticTracker

public class StaticTracker
extends Tracker

A class containing functionality to track a static physical object or set of grouped physical objects. A single State represents the object's location.

Version:
$Revision: 1.3 $
Author:
Jeffrey Hightower

Field Summary
protected  State m_state
           
 
Fields inherited from class uwcse.location.core.Tracker
m_elapsedTime, m_lastMeasurement, m_lastUpdateTime, m_trueStateMeasurement, m_worldMap
 
Constructor Summary
StaticTracker(StaticTracker tracker)
          Create a static object tracker as a copy of the given tracker.
StaticTracker(WorldMap map)
          Create an fixed object tracker to track a static physical object or set of grouped physical objects on the given map.
 
Method Summary
 Object clone()
           
 LocationReport createLocationReport()
          Compute a location report for the object being tracked.
 void initLocation(LocationReport report)
          Initialize the tracker to the most likely state of the given location report.
 void merge(Tracker tracker)
          Incorporate information contained in given tracker into this tracker.
 String toString()
           
 
Methods inherited from class uwcse.location.core.Tracker
getLastMeasurement, getRMSError, getTimestamp, getTrueStateMeasurement, getWorldMap, setTrueStateMeasurement, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_state

protected State m_state
Constructor Detail

StaticTracker

public StaticTracker(WorldMap map)
Create an fixed object tracker to track a static physical object or set of grouped physical objects on the given map.


StaticTracker

public StaticTracker(StaticTracker tracker)
Create a static object tracker as a copy of the given tracker.

Method Detail

clone

public Object clone()
Overrides:
clone in class Object

initLocation

public void initLocation(LocationReport report)
Initialize the tracker to the most likely state of the given location report.


createLocationReport

public LocationReport createLocationReport()
Compute a location report for the object being tracked.


toString

public String toString()
Overrides:
toString in class Object

merge

public void merge(Tracker tracker)
Incorporate information contained in given tracker into this tracker. Used by the database to link an existing object as a child of another object.



This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/

© Copyright 2004 University of Washington CSE