|
|||||||||
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.GSASentence
public class GSASentence
This class has been designed to manage a GSA Sentence GPS DOP and active satellites eg1. $GPGSA,A,3,,,,,,16,18,,22,24,,,3.6,2.1,2.2*3C eg2. $GPGSA,A,3,19,28,14,18,27,22,31,39,,,,,1.7,1.0,1.3*35 1 = Mode: M=Manual, forced to operate in 2D or 3D A=Automatic, 3D/2D 2 = Mode: 1=Fix not available 2=2D 3=3D 3-14 = IDs of SVs used in position fix (null for unused fields) 15 = PDOP 16 = HDOP 17 = VDOP
Field Summary | |
---|---|
static String |
HEADER
|
Fields inherited from class lejos.addon.gps.NMEASentence |
---|
nmeaSentence, st |
Constructor Summary | |
---|---|
GSASentence()
|
Method Summary | |
---|---|
float |
getHDOP()
Return hdop |
String |
getHeader()
Returns the NMEA header for this sentence. |
String |
getMode()
Return Mode1. |
int |
getModeValue()
Return Mode2. |
float |
getPDOP()
Return pdop |
int[] |
getPRN()
Return an Array with Satellite prn (Pseudo Randon Noise) code. |
float |
getVDOP()
Return vdop |
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 GSASentence()
Method Detail |
---|
public String getHeader()
getHeader
in class NMEASentence
public String getMode()
public int getModeValue()
public int[] getPRN()
public float getPDOP()
public float getHDOP()
public float getVDOP()
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 |