uwcse.location
Class FusionEval

java.lang.Object
  |
  +--com.intel.research.rain.Service
        |
        +--uwcse.location.LocationService
              |
              +--uwcse.location.FusionEval
All Implemented Interfaces:
MessageHandler

public class FusionEval
extends LocationService

A service to evaluate fusion.

Version:
$Revision: 1.6 $
Author:
Jeffrey Hightower

Nested Class Summary
 
Nested classes inherited from class uwcse.location.LocationService
LocationService.RediscoverServices
 
Field Summary
protected  String m_dbDir
           
protected  DisplayPanel m_displayPanel
           
protected  JFrame m_mainFrame
           
protected  PhysicalObjectDatabase m_objectDatabase
           
protected  boolean m_saveFrames
           
protected  StatPanel m_statRMSPanel
           
protected  StatPanel m_statSamplesPanel
           
 
Fields inherited from class uwcse.location.LocationService
CONFIG_FILENAME, MESSAGE_ELEMENT, MESSAGE_EXTENSION, RPC_ELEMENT, RPC_EXCEPTION_ELEMENT, RPC_EXTENSION, RPC_RESULT_ELEMENT
 
Constructor Summary
FusionEval(String databaseInitDirectory, boolean saveFrames, boolean showVisual)
          Construct a FusionServce.
 
Method Summary
 void handleNextMeasurement(Measurement meas)
          Process the new measurement in the simulation.
static void main(String[] argv)
           
protected static void printUsageAndExit()
          Show the program argument usage and then exit.
 
Methods inherited from class uwcse.location.LocationService
addObject, callLocationRpc, correctedTimeMillis, getObject, getSysclockError, handleTerminalCommand, multicastLocationMsg, multicastLocationMsgs, processLocationMsg, processLocationRpc, runTerminalCommandLoop, sendLocationMsg, sendLocationMsgs, setDescription, withdraw
 
Methods inherited from class com.intel.research.rain.Service
getDaemon, getDispatcher, getServiceID, process, receive, setDaemon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_objectDatabase

protected PhysicalObjectDatabase m_objectDatabase

m_dbDir

protected String m_dbDir

m_saveFrames

protected boolean m_saveFrames

m_mainFrame

protected JFrame m_mainFrame

m_displayPanel

protected DisplayPanel m_displayPanel

m_statRMSPanel

protected StatPanel m_statRMSPanel

m_statSamplesPanel

protected StatPanel m_statSamplesPanel
Constructor Detail

FusionEval

public FusionEval(String databaseInitDirectory,
                  boolean saveFrames,
                  boolean showVisual)
           throws RainException,
                  LocationException
Construct a FusionServce.

Parameters:
databaseInitDirectory - the name of the filesystem directory containing a persistent database snapshot that will be used for initalization. Must not be null and should designate an existing directory.
saveFrames - set true if frames should be saved to disk as images (i.e. for later animation as a movie file). Files are named "[timestamp].jpg".
Throws:
RainException
LocationException
Method Detail

handleNextMeasurement

public void handleNextMeasurement(Measurement meas)
Process the new measurement in the simulation.


printUsageAndExit

protected static void printUsageAndExit()
Show the program argument usage and then exit.


main

public static void main(String[] argv)


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