|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.client.tracker.Tracker
org.placelab.client.tracker.BeaconTracker
org.placelab.client.tracker.ParticleFilterTracker
A Tracker that uses a probabilistic technique to produce Estimates.
Sophisticated users could write a motion model and plug it into the BeaconParticleFilter used by this class to produce more accurate results than those produced by the CentroidTracker.
| Nested Class Summary | |
class |
ParticleFilterTracker.TEST_PROBE2
|
| Field Summary |
| Fields inherited from class org.placelab.client.tracker.BeaconTracker |
WIFI_MAX_DISTANCE |
| Constructor Summary | |
ParticleFilterTracker(Mapper m)
|
|
ParticleFilterTracker(Mapper m,
double maxX,
double maxY,
double gridIncr)
|
|
| Method Summary | |
boolean |
acceptableMeasurement(Measurement m)
Returns true if the tracker can make use of this reading to meaningfully update the estimate. |
Estimate |
getEstimate()
return an estimate based on the last set of measurements we saw * |
BeaconParticleFilter |
getParticleFilter()
|
java.util.Vector |
getParticleList()
|
protected void |
resetImpl()
Subclasses should implement this to reset themselves to their initial state. |
java.lang.String |
toString()
|
protected void |
updateEstimateImpl(Measurement m)
Subclasses should implement this to do the actual work of updating their Estimate with the given Measurement. |
void |
updateWithoutMeasurement(long durationMillis)
This method notifies a tracker that time has elapsed without a new mesurement. |
| Methods inherited from class org.placelab.client.tracker.BeaconTracker |
findBeacon, findBeacon, getMapper, pickBeacon, pickBeacon |
| Methods inherited from class org.placelab.client.tracker.Tracker |
addEstimateListener, fireEstimateUpdate, getLastUpdatedTime, gotMeasurement, numberOfMeasurements, removeEstimateListener, reset, spotterExceptionThrown, updateEstimate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ParticleFilterTracker(Mapper m)
public ParticleFilterTracker(Mapper m,
double maxX,
double maxY,
double gridIncr)
| Method Detail |
public java.lang.String toString()
public java.util.Vector getParticleList()
getParticleList in interface VisualizableParticleFilterMapDemo) to
draw particles on the screen.protected void resetImpl()
Tracker
resetImpl in class Trackerpublic boolean acceptableMeasurement(Measurement m)
Tracker
acceptableMeasurement in class BeaconTrackerm - return true if this is a BeaconMeasurementprotected void updateEstimateImpl(Measurement m)
TrackerEstimate with the given Measurement.
updateEstimateImpl in class Trackerm - use this to update your Estimatepublic Estimate getEstimate()
getEstimate in class Trackerpublic BeaconParticleFilter getParticleFilter()
public void updateWithoutMeasurement(long durationMillis)
Tracker
updateWithoutMeasurement in class Tracker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||