uwcse.location.objects.cricket
Class CricketListener

java.lang.Object
  |
  +--uwcse.location.objects.PhysicalObject
        |
        +--uwcse.location.objects.FixedSensorObject
              |
              +--uwcse.location.objects.cricket.CricketListener
All Implemented Interfaces:
LocationSensor

public class CricketListener
extends FixedSensorObject

Models A Cricket ultrasonic transmitter object.

Version:
$Revision: 1.4 $
Author:
Jeffrey Hightower

Field Summary
static String NAME_PREFIX
           
 
Fields inherited from class uwcse.location.objects.PhysicalObject
ANONYMOUS_NAME, m_name
 
Constructor Summary
CricketListener()
          Create a new anonymous Cricket transmitter.
CricketListener(String sensorName)
          Create a new Cricket transmitter with the given name.
 
Method Summary
 double likelihood(Measurement@LinearDistanceMeasurement distanceMeas, LocationReport sensorLocation, State objectState)
          Compute the probabilistic likelihood [0..1] that this listener heard the linear distance measurement from the given beacon object, given the State of this listener and the State the beacon.
 
Methods inherited from class uwcse.location.objects.FixedSensorObject
likelihood
 
Methods inherited from class uwcse.location.objects.PhysicalObject
getName, newTracker, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_PREFIX

public static final String NAME_PREFIX
Constructor Detail

CricketListener

public CricketListener()
Create a new anonymous Cricket transmitter.


CricketListener

public CricketListener(String sensorName)
Create a new Cricket transmitter with the given name.

Method Detail

likelihood

public double likelihood(Measurement@LinearDistanceMeasurement distanceMeas,
                         LocationReport sensorLocation,
                         State objectState)
Compute the probabilistic likelihood [0..1] that this listener heard the linear distance measurement from the given beacon object, given the State of this listener and the State the beacon.

Overrides:
likelihood in class FixedSensorObject


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