org.placelab.demo.virtualgps
Class VirtualGPS
java.lang.Object
org.placelab.client.Placelab
org.placelab.client.PlacelabFusion
org.placelab.demo.virtualgps.VirtualGPS
- All Implemented Interfaces:
- EstimateListener
- public class VirtualGPS
- extends PlacelabFusion
Takes the Place Lab location and outputs it as NMEA formatted sentences
over a serial port allowing you to use any external application that
understands NMEA (e.g. Microsoft MapPoint or Delorme Street Atlas).
The serial port should be specified with the system
properties placelab.virutal_gps_device, and placelab.virtual_gps_baud
|
Field Summary |
protected java.io.PrintStream |
out
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected java.io.PrintStream out
VirtualGPS
public VirtualGPS(Mapper _mapper,
BeaconTracker _tracker)
estimateUpdated
public void estimateUpdated(Tracker t,
Estimate e,
Measurement m)
- Description copied from interface:
EstimateListener
- Implement this method to respond to updates from the Tracker(s)
you are registered with.
- Specified by:
estimateUpdated in interface EstimateListener- Overrides:
estimateUpdated in class Placelab
spotterExceptionThrown
public void spotterExceptionThrown(Spotter s,
SpotterException ex)
main
public static void main(java.lang.String[] args)