Package PamController.masterReference
Class MasterReferencePoint
java.lang.Object
PamController.masterReference.MasterReferencePoint
Master reference point for PAMGAURD. This is
a bit of a stopgap to get some bearing and range
info from Landmarks, but may get used later on
to contain a list of possible reference marks that
can be selected.
Currently gets data from the map whenever GPS updates, or whenever static hydrophone locations update.
Everything static.
Currently gets data from the map whenever GPS updates, or whenever static hydrophone locations update.
Everything static.
- Author:
- Douglas Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Double
static String
getError()
static Long
static Double
static LatLong
static String
getName()
static Double
getSpeed()
static void
notifyModelChanged
(int changeType) static void
setDisplayTime
(long displayTime) Used in the viewer if something is scrolling and wants to change the default time.
-
Constructor Details
-
MasterReferencePoint
public MasterReferencePoint()
-
-
Method Details
-
notifyModelChanged
public static void notifyModelChanged(int changeType) -
getLatLong
- Returns:
- the current reference lat long
-
getFixTime
- Returns:
- the time at which the current reference was last updated
-
getCourse
- Returns:
- any course information associated with the current reference
-
getHeading
- Returns:
- any heading information associated with the current reference
-
getSpeed
- Returns:
- the speed of the reference system.
-
getError
- Returns:
- that origin system is Ok.
-
getName
- Returns:
- the name of the current reference system.
-
setDisplayTime
public static void setDisplayTime(long displayTime) Used in the viewer if something is scrolling and wants to change the default time.
-