public class GPSParameters
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
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
|
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 and Description |
---|
GPSParameters() |
Modifier and Type | Method and Description |
---|---|
GPSParameters |
clone() |
public static final long serialVersionUID
public boolean setClockOnStartup
public double dimA
public double dimB
public double dimC
public double dimD
public boolean plotPredictedPosition
public int predictionTime
public boolean readHeading
public java.lang.String headingNMEASource
public static final int READ_GGA
public static final int READ_RMC
public int mainString
public java.lang.String rmcInitials
public java.lang.String ggaInitials
public boolean readTrueHeading
public java.lang.String headingString
public int headingStringPos
public boolean headingSmoothing
public float smoothingTime
public int readType
public static final int READ_ALL
public static final int READ_TIMER
public static final int READ_DYNAMIC
public int readInterval
public double courseInterval
public double speedInterval
public GPSParameters clone()
clone
in class java.lang.Object