config
Class Config.plugin.GPSPlugin

java.lang.Object
  extended byconfig.Config.plugin.GPSPlugin
Enclosing class:
Config.plugin

public static class Config.plugin.GPSPlugin
extends java.lang.Object


Constructor Summary
Config.plugin.GPSPlugin()
           
 
Method Summary
static int getDeviation()
          return the deviation of GPS position measurement in meter.
static java.lang.String getDevice()
          returns the name of the serial device where the GPS sensor is connected to.
static double getVariance()
          return variance of GPS position estimation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config.plugin.GPSPlugin

public Config.plugin.GPSPlugin()
Method Detail

getDevice

public static java.lang.String getDevice()
returns the name of the serial device where the GPS sensor is connected to.

Returns:
name of the GPS port

getDeviation

public static int getDeviation()
return the deviation of GPS position measurement in meter. The PDF of GPS measurement is a Gauss distribution. This means infinite expanse. For pracitcal use we need to stop somewhere. This constant controls after which distance we consider the probability to be zero. This usually is the deviation of GPS position estimation itself.

Returns:
the deviation in meter

getVariance

public static double getVariance()
return variance of GPS position estimation.

Returns:
the variance in meters