接口 GSASentence

所有超级接口:
Sentence

public interface GSASentence extends 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
  • 方法详细资料

    • 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

      void setFixStatus(GpsFixStatus status)
      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

      void setMode(FaaMode mode)
      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

      void setSatelliteIds(String[] ids)
      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