uwcse.location.core
Class PointTracker

java.lang.Object
  |
  +--uwcse.location.core.Tracker
        |
        +--uwcse.location.core.MobileTracker
              |
              +--uwcse.location.core.PointTracker

public class PointTracker
extends MobileTracker

A class containing functionality to naively track a physical object or set of grouped physical objects where the tracked object is simply placed at the exact position the sensor making each new measurement.

Version:
$Revision: 1.2 $
Author:
Jeffrey Hightower

Field Summary
 
Fields inherited from class uwcse.location.core.MobileTracker
m_motionModel
 
Fields inherited from class uwcse.location.core.Tracker
m_elapsedTime, m_lastMeasurement, m_lastUpdateTime, m_trueStateMeasurement, m_worldMap
 
Constructor Summary
PointTracker(PointTracker tracker)
          Create a point object tracker as a copy of this one.
PointTracker(WorldMap map, MotionModel motion)
          Create a point tracker.
 
Method Summary
 Object clone()
          Create a point object tracker as a copy of the given one.
 LocationReport createLocationReport()
          Compute a state location report for the object being tracked.
 void initLocation(LocationReport report)
          Initialize the tracker to the given location.
 void merge(Tracker tracker)
          Incorporate information contained in given tracker into this tracker.
 String toString()
          Return a string representation of this particle filter tracker.
 void update(Measurement meas, LocationSensor sensor, LocationReport sensorLocation)
          Update to reflect the given measurement taken by the given location sensor.
 
Methods inherited from class uwcse.location.core.MobileTracker
getMotionModel, setMotionModel
 
Methods inherited from class uwcse.location.core.Tracker
getLastMeasurement, getRMSError, getTimestamp, getTrueStateMeasurement, getWorldMap, setTrueStateMeasurement
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointTracker

public PointTracker(WorldMap map,
                    MotionModel motion)
Create a point tracker.


PointTracker

public PointTracker(PointTracker tracker)
Create a point object tracker as a copy of this one.

Method Detail

clone

public Object clone()
Create a point object tracker as a copy of the given one.

Overrides:
clone in class Object

update

public void update(Measurement meas,
                   LocationSensor sensor,
                   LocationReport sensorLocation)
Update to reflect the given measurement taken by the given location sensor. The tracked state is simply set at the most likely position of the sensor making the measurement.

Overrides:
update in class Tracker

createLocationReport

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


toString

public String toString()
Return a string representation of this particle filter tracker.

Overrides:
toString in class MobileTracker

initLocation

public void initLocation(LocationReport report)
Initialize the tracker to the given location.


merge

public void merge(Tracker tracker)
Incorporate information contained in given tracker into this tracker.



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