接口 GSASentence
- 所有超级接口:
Sentence
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
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明Get the GPS fix mode; 2D, 3D or no fix.doubleGet the horizontal dilution Of precision (HDOP).getMode()Get the FAA operation mode of GPS.doubleGet the dilution of precision (PDOP) for position.String[]Get list of satellites used for acquiring the GPS fix.doubleGet the vertical dilution of precision (VDOP).voidsetFixStatus(GpsFixStatus status) Set the GPS fix mode; 2D, 3D or no fix.voidsetHorizontalDOP(double hdop) Set the horizontal dilution of precision (HDOP).voidSet the FAA operation mode of GPS.voidsetPositionDOP(double pdop) Set the dilution of precision for position.voidsetSatelliteIds(String[] ids) Set list of satellites used for acquiring the GPS fix.voidsetVerticalDOP(double vdop) Set the vertical dilution of precision (VDOP).从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getFixStatus
GpsFixStatus getFixStatus()Get the GPS fix mode; 2D, 3D or no fix.- 返回:
- GpsFixStatus enum
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getHorizontalDOP
double getHorizontalDOP()Get the horizontal dilution Of precision (HDOP).- 返回:
- double
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getMode
FaaMode getMode()Get the FAA operation mode of GPS.- 返回:
- FaaMode enum
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getPositionDOP
double getPositionDOP()Get the dilution of precision (PDOP) for position.- 返回:
- double
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getSatelliteIds
String[] getSatelliteIds()Get list of satellites used for acquiring the GPS fix.- 返回:
- String array containing satellite IDs.
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getVerticalDOP
double getVerticalDOP()Get the vertical dilution of precision (VDOP).- 返回:
- double
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
setFixStatus
Set the GPS fix mode; 2D, 3D or no fix.- 参数:
status- Status to set
-
setHorizontalDOP
void setHorizontalDOP(double hdop) Set the horizontal dilution of precision (HDOP).- 参数:
hdop- Precision value to set
-
setMode
Set the FAA operation mode of GPS.- 参数:
mode- Mode to set
-
setPositionDOP
void setPositionDOP(double pdop) Set the dilution of precision for position.- 参数:
pdop- Precision value to set
-
setSatelliteIds
Set list of satellites used for acquiring the GPS fix.- 参数:
ids- List of satellite IDs, maximum length of array is 12.
-
setVerticalDOP
void setVerticalDOP(double vdop) Set the vertical dilution of precision (VDOP).- 参数:
vdop- Precision value to set
-