GPS
Class GPSParameters

java.lang.Object
  extended by GPS.GPSParameters
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GPSParameters
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
 double courseInterval
          Minimum course change for a dynamic read
 double dimA
          distance from bow to antenna
 double dimB
          distance from antenna to stern
 double dimC
          distance from port side to antenna
 double dimD
          distance from antenna to startboard side
 java.lang.String ggaInitials
           
 java.lang.String headingNMEASource
           
 boolean headingSmoothing
          GPS HEading Smoothing
 java.lang.String headingString
          String for true heading
 int headingStringPos
          position of data in headingString
 int mainString
          Which strings to read
protected  java.lang.String nmeaSource
           
 boolean plotPredictedPosition
          On the map, work out where the ship will be and draw an arrow to that point
 int predictionTime
          time for prediction arrow (seconds)
static int READ_ALL
          Read everything
static int READ_DYNAMIC
          Read on a fixed time interval or when course or speed change
static int READ_GGA
           
static int READ_RMC
           
static int READ_TIMER
          Read on a fixed time interval
 boolean readHeading
           
 int readInterval
          Interval between reads in seconds
 boolean readTrueHeading
          Attempt to read true heading information
 int readType
          storage and read options: Can either read everything that comes in or just read every n seconds, or be a bit more clever and read every n seconds OR whenever course or speed have changed by more than than some set amount.
 java.lang.String rmcInitials
          String initials
static long serialVersionUID
           
 boolean setClockOnStartup
           
 float smoothingTime
          GPS smoothing time in seconds.
 double speedInterval
          Minimum speed change for a dynamic read
 
Constructor Summary
GPSParameters()
           
 
Method Summary
 GPSParameters clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

setClockOnStartup

public boolean setClockOnStartup

nmeaSource

protected java.lang.String nmeaSource

dimA

public double dimA
distance from bow to antenna


dimB

public double dimB
distance from antenna to stern


dimC

public double dimC
distance from port side to antenna


dimD

public double dimD
distance from antenna to startboard side


plotPredictedPosition

public boolean plotPredictedPosition
On the map, work out where the ship will be and draw an arrow to that point


predictionTime

public int predictionTime
time for prediction arrow (seconds)


readHeading

public boolean readHeading

headingNMEASource

public java.lang.String headingNMEASource

READ_GGA

public static final int READ_GGA
See Also:
Constant Field Values

READ_RMC

public static final int READ_RMC
See Also:
Constant Field Values

mainString

public int mainString
Which strings to read


rmcInitials

public java.lang.String rmcInitials
String initials


ggaInitials

public java.lang.String ggaInitials

readTrueHeading

public boolean readTrueHeading
Attempt to read true heading information


headingString

public java.lang.String headingString
String for true heading


headingStringPos

public int headingStringPos
position of data in headingString


headingSmoothing

public boolean headingSmoothing
GPS HEading Smoothing


smoothingTime

public float smoothingTime
GPS smoothing time in seconds.


readType

public int readType
storage and read options: Can either read everything that comes in or just read every n seconds, or be a bit more clever and read every n seconds OR whenever course or speed have changed by more than than some set amount.


READ_ALL

public static final int READ_ALL
Read everything

See Also:
Constant Field Values

READ_TIMER

public static final int READ_TIMER
Read on a fixed time interval

See Also:
Constant Field Values

READ_DYNAMIC

public static final int READ_DYNAMIC
Read on a fixed time interval or when course or speed change

See Also:
Constant Field Values

readInterval

public int readInterval
Interval between reads in seconds


courseInterval

public double courseInterval
Minimum course change for a dynamic read


speedInterval

public double speedInterval
Minimum speed change for a dynamic read

Constructor Detail

GPSParameters

public GPSParameters()
Method Detail

clone

public GPSParameters clone()
Overrides:
clone in class java.lang.Object