|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uwcse.location.core.Tracker
|
+--uwcse.location.core.MobileTracker
|
+--uwcse.location.core.CentroidTracker
|
+--uwcse.location.core.SmoothCentroidTracker
A class containing functionality to track a physical object or set of grouped physical objects where the tracked object is placed at the centroid of the position's of the last n sensors making measurements, smoothed by the history of previous centroids. The history size is the number of past estimated positions (including the current) that are averaged to estimate the tracked object's current position. A history size of 1 results in no smoothing.
| Field Summary | |
protected State[] |
m_history
|
protected int |
m_historyIndex
|
| Fields inherited from class uwcse.location.core.CentroidTracker |
m_index, m_useWeighting, m_values, m_window |
| 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 | |
SmoothCentroidTracker(SmoothCentroidTracker tracker)
Create a point object tracker as a copy of this one. |
|
SmoothCentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting)
Create a centroid tracker with a window size of 3 and a smoothing history size of 2. |
|
SmoothCentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting,
int windowSize,
int historySize)
Create a centroid tracker with the given centroid window size, weighting, and smoothing history. |
|
| 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. |
int |
getHistorySize()
Get the history size, that is, the number of past estimated positions (including the current) that are averaged to estimate the tracked object's current position. |
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.CentroidTracker |
getWindowSize |
| 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 |
| Field Detail |
protected State[] m_history
protected int m_historyIndex
| Constructor Detail |
public SmoothCentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting)
public SmoothCentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting,
int windowSize,
int historySize)
public SmoothCentroidTracker(SmoothCentroidTracker tracker)
| Method Detail |
public Object clone()
clone in class CentroidTracker
public void update(Measurement meas,
LocationSensor sensor,
LocationReport sensorLocation)
update in class CentroidTrackerpublic int getHistorySize()
public LocationReport createLocationReport()
createLocationReport in class CentroidTrackerpublic String toString()
toString in class CentroidTrackerpublic void initLocation(LocationReport report)
initLocation in class CentroidTrackerpublic void merge(Tracker tracker)
merge in class CentroidTracker
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||