uwcse.location.objects.mote
Class MoteDriver
java.lang.Object
|
+--com.intel.research.rain.Service
|
+--uwcse.location.LocationService
|
+--uwcse.location.FusionClientService
|
+--uwcse.location.objects.SensorDriver
|
+--uwcse.location.objects.mote.MoteDriver
- All Implemented Interfaces:
- MessageHandler
- public class MoteDriver
- extends SensorDriver
A MoteDriver interacts with Berkeley MICA motes and generates
ProxmityMeasurements.
- Version:
- $Revision: 1.2 $
- Author:
- Eugene Shih
Date: $Date: 2004/02/09 23:47:06 $
- See Also:
ProximityMeasurement
| Methods inherited from class uwcse.location.LocationService |
addObject, callLocationRpc, correctedTimeMillis, getObject, getSysclockError, handleTerminalCommand, multicastLocationMsg, multicastLocationMsgs, processLocationMsg, processLocationRpc, runTerminalCommandLoop, sendLocationMsg, sendLocationMsgs, setDescription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoteDriver
public MoteDriver()
throws RainException,
LocationException
- Constructor
- Throws:
RainException
LocationException
handleInput
protected void handleInput(MoteSerialReadWrite.basePacket packet)
throws IOException
- Extract the data from the Mote Packet. ProximityMeasurement objects
are created and forwarded automatically.
- Parameters:
packet - a packet containing information about a mote sensor and
mote object
- Throws:
IOException
printUsageAndExit
protected static void printUsageAndExit()
- Show the program argument usage and then exit.
main
public static void main(String[] argv)
- Run the MoteDriver.
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