|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GSASentence
Precision of GPS fix and list of active satellites. Dilution of precision (DOP) is an indication of the effect of satellite geometry on the accuracy of the fix. It is a unitless number where smaller is better.
Example:
$GPGSA,A,3,02,,,07,,09,24,26,,,,,1.6,1.6,1.0*3D
Field Summary |
---|
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
---|
ADDRESS_FIELD, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
Method Summary | |
---|---|
GpsFixStatus |
getFixStatus()
Get the GPS fix mode; 2D, 3D or no fix. |
GpsMode |
getGpsMode()
Get the GPS operation mode. |
double |
getHorizontalDOP()
Get the horizontal dilution Of precision (HDOP). |
double |
getPositionDOP()
Get the dilution of precision (PDOP) for position. |
String[] |
getSatellitesIds()
Get list of satellites used for acquiring the GPS fix. |
double |
getVerticalDOP()
Get the vertical dilution of precision (VDOP). |
void |
setFixStatus(GpsFixStatus status)
Set the GPS fix mode; 2D, 3D or no fix. |
void |
setGpsMode(GpsMode mode)
Set the GPS operation mode. |
void |
setHorizontalDOP(double hdop)
Set the horizontal dilution of precision (HDOP). |
void |
setPositionDOP(double pdop)
Set the dilution of precision for position. |
void |
setSatelliteIds(String[] ids)
Set list of satellites used for acquiring the GPS fix. |
void |
setVerticalDOP(double vdop)
Set the vertical dilution of precision (VDOP). |
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
---|
getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, setTalkerId, toSentence, toString |
Method Detail |
---|
GpsFixStatus getFixStatus()
DataNotAvailableException
- If the data is not available.
ParseException
- If the field contains unexpected or illegal value.GpsMode getGpsMode()
DataNotAvailableException
- If the data is not available.
ParseException
- If the field contains unexpected or illegal value.double getHorizontalDOP()
DataNotAvailableException
- If the data is not available.
ParseException
- If the field contains unexpected or illegal value.double getPositionDOP()
DataNotAvailableException
- If the data is not available.
ParseException
- If the field contains unexpected or illegal value.String[] getSatellitesIds()
DataNotAvailableException
- If the data is not available.
ParseException
- If the field contains unexpected or illegal value.double getVerticalDOP()
DataNotAvailableException
- If the data is not available.
ParseException
- If the field contains unexpected or illegal value.void setFixStatus(GpsFixStatus status)
status
- Status to setvoid setGpsMode(GpsMode mode)
mode
- Mode to setvoid setHorizontalDOP(double hdop)
hdop
- Precision value to setvoid setPositionDOP(double pdop)
pdop
- Precision value to setvoid setSatelliteIds(String[] ids)
ids
- List of satellite IDs, maximum length of array is 12.void setVerticalDOP(double vdop)
vdop
- Precision value to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |