|
||||||||||
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.NMEA183RMCSentence
RMC - Recommended minimum specific GPS/Transit data
Field Summary | |
protected String |
dataStatus_
navigation receiver warning A = ok V = warning |
protected Date |
fixDate_
date of fix |
protected double |
groundSpeedKnots_
speed over ground, knots |
protected Latitude |
latitude_
latitude |
protected Longitude |
longitude_
longitude |
protected double |
magneticVariation_
magnetic variation |
protected String |
magneticVariationDirection_
|
protected Date |
timestamp_
time of fix |
protected double |
trueCourse_
true course, degrees |
Fields inherited from class de.fhg.igd.gps.NMEA183Sentence |
checksum_, fields_, sentenceId_, sentenceId_desc_, talkerId_, talkerId_desc_ |
Constructor Summary | |
NMEA183RMCSentence(String talkerId)
Constructs a new NMEARMC183Sentence with the specified
talkerId . |
Method Summary | |
protected String |
bodyToString()
Returns the body part of this sentence's string representation. |
String |
getDataStatus()
Returns the data status ( "A" = ok, "V" = warning ). |
Date |
getFixDate()
Returns the date of fix. |
double |
getGroundSpeedKnots()
Returns the ground speed, measured in knots. |
Latitude |
getLatitude()
Returns the Latitude of this sentence. |
Longitude |
getLongitude()
Returns the Longitude of this sentence. |
double |
getMagneticVariation()
Returns the magnetic variation. |
String |
getMagneticVariationDirection()
Returns the direction of the magnetic variation. |
Date |
getTimestamp()
Returns the time stamp of this sentence as a Date object. |
double |
getTrueCourse()
Returns the true course, measured in degrees. |
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 Date timestamp_
protected String dataStatus_
protected Latitude latitude_
protected Longitude longitude_
protected double groundSpeedKnots_
protected double trueCourse_
protected Date fixDate_
protected double magneticVariation_
protected String magneticVariationDirection_
Constructor Detail |
public NMEA183RMCSentence(String talkerId)
NMEARMC183Sentence
with the specified
talkerId
.
talkerId
- the talker id of this NMEA183RMCSentence
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 getTrueCourse()
public double getGroundSpeedKnots()
public String getDataStatus()
public Date getFixDate()
public double getMagneticVariation()
public String getMagneticVariationDirection()
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 |