|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.gps.NMEA183Sentence de.fhg.igd.gps.NMEA183GSASentence
GSA - GPS DOP and active satellites
Field Summary | |
protected int |
fixDimension_
Dimension of fix ( 2D or 3D fix ) |
protected String |
fixSelection_
Selection of 2D or 3D fix: A = auto M = manual |
protected double |
hdop_
horizontal dilution of precision |
protected double |
pdop_
dilution of precision |
protected Vector |
prns_
PRNs of satellites used for fix ( up to 12 ) Each prn is stored using an Integer object. |
protected double |
vdop_
vertical dilution of precision |
Fields inherited from class de.fhg.igd.gps.NMEA183Sentence |
checksum_, fields_, sentenceId_, sentenceId_desc_, talkerId_, talkerId_desc_ |
Constructor Summary | |
NMEA183GSASentence(String talkerId)
Constructs a new NMEAGSA183Sentence with the specified
talkerId . |
Method Summary | |
protected String |
bodyToString()
Returns the body part of this sentence's string representation. |
int |
getFixDimension()
Returns the fix dimension ( 2 for 2D, 3 for 3D ). |
String |
getFixSelection()
Returns the fix selection method ( "A" for auto and "M" for manual fix selection ). |
double |
getHdop()
Returns the horizontal dilution of precision. |
double |
getPdop()
Returns the dilution of precision. |
Vector |
getPrns()
Returns the prns of all satellites being used for the fix as a Vector of Integer objects. |
double |
getVdop()
Returns the vertical dilution of precision. |
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 String fixSelection_
protected int fixDimension_
protected Vector prns_
protected double pdop_
protected double hdop_
protected double vdop_
Constructor Detail |
public NMEA183GSASentence(String talkerId)
NMEAGSA183Sentence
with the specified
talkerId
.
talkerId
- the talker id of this NMEA183GSASentence
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 String getFixSelection()
String
object.public int getFixDimension()
public Vector getPrns()
Vector
of Integer
objects.
Vector
of Integer
objectspublic double getPdop()
public double getHdop()
public double getVdop()
protected String bodyToString()
NMEA183Sentence
bodyToString
in class NMEA183Sentence
NMEA183Sentence.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |