|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.addon.gps.NMEASentence lejos.addon.gps.GGASentence
public class GGASentence
This class has been designed to manage a GGA Sentence GGA - essential fix data which provide 3D location and accuracy data. $GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47 Where: GGA Global Positioning System Fix Data 123519 Fix taken at 12:35:19 UTC 4807.038,N Latitude 48 deg 07.038' N 01131.000,E Longitude 11 deg 31.000' E 1 Fix quality: 0 = invalid 1 = GPS fix (SPS) 2 = DGPS fix 3 = PPS fix 4 = Real Time Kinematic 5 = Float RTK 6 = estimated (dead reckoning) (2.3 feature) 7 = Manual input mode 8 = Simulation mode 08 Number of satellites being tracked 0.9 Horizontal dilution of position 545.4,M Altitude, Meters, above mean sea level 46.9,M Height of geoid (mean sea level) above WGS84 ellipsoid (empty field) time in seconds since last DGPS update (empty field) DGPS station ID number *47 the checksum data, always begins with *
Field Summary | |
---|---|
static String |
HEADER
|
Fields inherited from class lejos.addon.gps.NMEASentence |
---|
nmeaSentence, st |
Constructor Summary | |
---|---|
GGASentence()
|
Method Summary | |
---|---|
float |
getAltitude()
Get Altitude |
int |
getFixQuality()
Get GPS Quality Data |
String |
getHeader()
Returns the NMEA header for this sentence. |
double |
getLatitude()
Get Latitude |
char |
getLatitudeDirection()
Get Latitude Direction |
double |
getLongitude()
Get Longitude |
char |
getLongitudeDirection()
Get Longitude Direction |
int |
getSatellitesTracked()
Returns the number of satellites being tracked to determine the coordinates. |
int |
getTime()
Returns the last time stamp retrieved from a satellite |
protected void |
parse(String sentence)
Method used to parse a GGA Sentence |
Methods inherited from class lejos.addon.gps.NMEASentence |
---|
checkRefresh, degreesMinToDegrees, getTimeStamp, isValid, setSentence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HEADER
Constructor Detail |
---|
public GGASentence()
Method Detail |
---|
public String getHeader()
getHeader
in class NMEASentence
public double getLatitude()
public char getLatitudeDirection()
public double getLongitude()
public char getLongitudeDirection()
public float getAltitude()
public int getTime()
public int getSatellitesTracked()
public int getFixQuality()
protected void parse(String sentence)
parse
in class NMEASentence
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |