|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhg.igd.gps.NMEA183Sentence
de.fhg.igd.gps.NMEA183GGASentence
GGA - Global Positioning System Fix Data, Time, Position and fix related data.
Field Summary | |
protected double |
altitude_
Altitude above mean sea level |
protected String |
altitudeMeasure_
|
protected int |
dgpsId_
DGPS station ID number |
protected int |
fixQuality_
Fix quality 0 = invalid 1 = GPS fix 2 = DGPS fix |
protected double |
hdop_
Horizontal dilution of position |
protected double |
height_
Height of geoid (mean sea level) above WGS84 ellipsoid |
protected String |
heightMeasure_
|
protected int |
lastUpdate_
Time in seconds since last DGPS update |
protected Latitude |
latitude_
Latitude |
protected Longitude |
longitude_
Longitude |
protected int |
satellites_
Number of satellites being tracked |
protected Date |
timestamp_
Fix taken at ( Universal Time Coordinated (UTC) ) |
Fields inherited from class de.fhg.igd.gps.NMEA183Sentence |
checksum_, fields_, sentenceId_, sentenceId_desc_, talkerId_, talkerId_desc_ |
Constructor Summary | |
NMEA183GGASentence(String talkerId)
Constructs a new NMEAGGA183Sentence with the specified
talkerId . |
Method Summary | |
protected String |
bodyToString()
Returns the body part of this sentence's string representation. |
double |
getAltitude()
Returns the altitude of this sentence. |
String |
getAltitudeMeasure()
Returns the measure of this sentence's altitude as a String
object. |
int |
getDgpsId()
Returns the time in seconds since last DGPS update. |
int |
getFixQuality()
Returns the fix quality as an int value. |
double |
getHdop()
Returns the horizontal dilution of precision. |
double |
getHeight()
Returns the height of this sentence. |
String |
getHeightMeasure()
Returns the measure of this sentence's height as a String
object. |
int |
getLastUpdate()
Returns the time in seconds since last DGPS update. |
Latitude |
getLatitude()
Returns the Latitude of this sentence. |
Longitude |
getLongitude()
Returns the Longitude of this sentence. |
int |
getSatellites()
Returns the number of satellites. |
Date |
getTimestamp()
Returns the time stamp of this sentence as a Date object. |
void |
parse(NMEA183Tokenizer tokenizer)
Reads and parses a NMEA183 sentence from tokenizer . |
Methods inherited from class de.fhg.igd.gps.NMEA183Sentence |
computeChecksum, getDateField, getFloatField, getIntegerField, getLatitudeField, getLongitudeField, getSentenceId, getStringField, hasChecksum, headerToString, rebuildSentence, toString, valid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Longitude longitude_
protected Latitude latitude_
protected Date timestamp_
protected int fixQuality_
protected int satellites_
protected double hdop_
protected double altitude_
protected String altitudeMeasure_
protected double height_
protected String heightMeasure_
protected int lastUpdate_
protected int dgpsId_
Constructor Detail |
public NMEA183GGASentence(String talkerId)
NMEAGGA183Sentence
with the specified
talkerId
.
talkerId
- the talker id of this NMEA183GGASentence
Method Detail |
public void parse(NMEA183Tokenizer tokenizer) throws NMEA183SentenceFormatException
NMEA183Sentence
tokenizer
.
parse
in class NMEA183Sentence
tokenizer
- the NMEA183Tokenizer to read from
NMEA183SentenceFormatException
- if the read sentence does not have
the appropriate formatpublic Date getTimestamp()
Date
object.
Date
object.public Longitude getLongitude()
Longitude
of this sentence.
Longitude
of this sentencepublic Latitude getLatitude()
Latitude
of this sentence.
Latitude
of this sentencepublic double getHeight()
getHeightMeasure()
public String getHeightMeasure()
String
object.
getHeight()
public int getFixQuality()
int
value.
int
value.public int getSatellites()
public double getHdop()
public double getAltitude()
getAltitudeMeasure()
public String getAltitudeMeasure()
String
object.
getAltitude()
public int getLastUpdate()
public int getDgpsId()
protected String bodyToString()
NMEA183Sentence
bodyToString
in class NMEA183Sentence
NMEA183Sentence.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |