|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uwcse.location.core.Tracker
An abstract class containing functionality to track a physical object.
| Field Summary | |
protected long |
m_elapsedTime
|
protected Measurement |
m_lastMeasurement
|
protected long |
m_lastUpdateTime
|
protected TrueStateMeasurement |
m_trueStateMeasurement
|
protected WorldMap |
m_worldMap
|
| Constructor Summary | |
Tracker(Tracker tracker)
Create a tracker as a copy of the given one. |
|
Tracker(WorldMap map)
Create a tracker. |
|
| Method Summary | |
abstract LocationReport |
createLocationReport()
Compute a location report for the object being tracked. |
Measurement |
getLastMeasurement()
Get the last measurement which was applied to this tracker. |
double |
getRMSError()
Compute the root-mean-square error of the position estimate contained in this tracker against the last known ground truth TrueStateMeasurement. |
long |
getTimestamp()
Get the last system time in milliseconds that a measurement update was applied to this tracker. |
TrueStateMeasurement |
getTrueStateMeasurement()
Get the measurement containing the last known ground truth position of the object being tracked by this tracker. |
WorldMap |
getWorldMap()
Get the world map for this tracker. |
abstract void |
initLocation(LocationReport report)
Initialize the tracker to the given location. |
abstract void |
merge(Tracker tracker)
Incorporate information contained in given tracker into this tracker. |
void |
setTrueStateMeasurement(TrueStateMeasurement trueMeas)
Set the given ground truth measurement as the known true position of the object being tracked by this tracker. |
void |
update(Measurement meas,
LocationSensor sensor,
LocationReport sensorLocation)
Update the tracker to reflect the given measurement taken by the given location sensor along with predictive motion up to the measurement's timestamp. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected WorldMap m_worldMap
protected Measurement m_lastMeasurement
protected TrueStateMeasurement m_trueStateMeasurement
protected long m_lastUpdateTime
protected long m_elapsedTime
| Constructor Detail |
public Tracker(WorldMap map)
public Tracker(Tracker tracker)
| Method Detail |
public void update(Measurement meas,
LocationSensor sensor,
LocationReport sensorLocation)
public WorldMap getWorldMap()
public void setTrueStateMeasurement(TrueStateMeasurement trueMeas)
public TrueStateMeasurement getTrueStateMeasurement()
public double getRMSError()
public Measurement getLastMeasurement()
public long getTimestamp()
public abstract void initLocation(LocationReport report)
public abstract LocationReport createLocationReport()
public abstract void merge(Tracker tracker)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||