uwcse.location.objects
Class MobileSensorObject

java.lang.Object
  |
  +--uwcse.location.objects.PhysicalObject
        |
        +--uwcse.location.objects.MobileObject
              |
              +--uwcse.location.objects.MobileSensorObject
All Implemented Interfaces:
LocationSensor

public abstract class MobileSensorObject
extends MobileObject
implements LocationSensor

An abstract class to describe a generic fixed sensor object.

Version:
$Revision: 1.3 $
Author:
Jeffrey Hightower

Field Summary
 
Fields inherited from class uwcse.location.objects.PhysicalObject
ANONYMOUS_NAME, m_name
 
Constructor Summary
MobileSensorObject()
          Create an anonymous physical object.
MobileSensorObject(String name)
          Create a named physical object.
 
Method Summary
 double likelihood(Measurement meas, LocationReport sensorLocation, State objectState)
          This default likelihood method simply returns 1.0 having the effect of every measurement being equally and completely likely.
 MotionModel newMotionModel()
          Factory method to create a new motion model that is the default motion model for this type of mobile object.
 Tracker newTracker(WorldMap map)
          Factory method to create a new default tracker for this type of object.
 
Methods inherited from class uwcse.location.objects.PhysicalObject
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MobileSensorObject

public MobileSensorObject()
Create an anonymous physical object.


MobileSensorObject

public MobileSensorObject(String name)
Create a named physical object.

Method Detail

newTracker

public Tracker newTracker(WorldMap map)
Factory method to create a new default tracker for this type of object.

Overrides:
newTracker in class MobileObject

newMotionModel

public MotionModel newMotionModel()
Factory method to create a new motion model that is the default motion model for this type of mobile object.

Overrides:
newMotionModel in class MobileObject

likelihood

public double likelihood(Measurement meas,
                         LocationReport sensorLocation,
                         State objectState)
This default likelihood method simply returns 1.0 having the effect of every measurement being equally and completely likely.

Specified by:
likelihood in interface LocationSensor
See Also:
Tracker.update(Measurement,LocationSensor,LocationReport)


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