|
|||||||||||
| 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
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.
| Field Summary | |
protected int |
m_index
|
protected boolean |
m_useWeighting
|
protected double[] |
m_values
|
protected State[] |
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 | |
CentroidTracker(CentroidTracker tracker)
Create a point object tracker as a copy of this one. |
|
CentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting)
Create a centroid tracker with a window size of 3. |
|
CentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting,
int windowSize)
Create a centroid tracker with the given centroid window size. |
|
| 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 |
getWindowSize()
Get the window size, that is, the number of sensor measurements whose sensor position is averaged to compute the tracked object's 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.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_window
protected double[] m_values
protected int m_index
protected boolean m_useWeighting
| Constructor Detail |
public CentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting)
public CentroidTracker(WorldMap map,
MotionModel motion,
boolean useWeighting,
int windowSize)
public CentroidTracker(CentroidTracker tracker)
| Method Detail |
public Object clone()
clone in class Object
public void update(Measurement meas,
LocationSensor sensor,
LocationReport sensorLocation)
update in class Trackerpublic int getWindowSize()
public LocationReport createLocationReport()
public String toString()
toString in class MobileTrackerpublic void initLocation(LocationReport report)
public void merge(Tracker tracker)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||