Class SatelliteCatalog

java.lang.Object
org.ka2ddo.gps.SatelliteCatalog

public class SatelliteCatalog extends Object
This class contains the current state data of the GPS satellites, as viewed from the position of the GPS receiver.
Author:
Andrew Pavlin, KA2DDO
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    short
    Fix quality number (character from $GPGSA sentence).
    int
    Total number of $GPGSV sentences needed to describe all satellites in use.
    float
    Horizontal dilution of precision.
    float
    Three-dimensional position dilution of precision.
    Collection of state records for each individual satellite.
    long
    Receive time of last $GPGSA in Java milliseconds since 1 Jan 1970 UTC.
    long
    Receive time of last $GPGSV in Java milliseconds since 1 Jan 1970 UTC.
    float
    Vertical dilution of precision.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a SatelliteCatalog object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string representation of the object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • timeOfLastGpGsa

      public long timeOfLastGpGsa
      Receive time of last $GPGSA in Java milliseconds since 1 Jan 1970 UTC.
    • timeOfLastGpGsv

      public long timeOfLastGpGsv
      Receive time of last $GPGSV in Java milliseconds since 1 Jan 1970 UTC.
    • fixQuality

      public short fixQuality
      Fix quality number (character from $GPGSA sentence).
    • sats

      public final SatelliteState[] sats
      Collection of state records for each individual satellite. First 30 are Global Positioning System (US DoD), others are DGPS receivers or for other constellations with multi-constellation receivers.
    • pdop

      public float pdop
      Three-dimensional position dilution of precision.
    • hdop

      public float hdop
      Horizontal dilution of precision.
    • vdop

      public float vdop
      Vertical dilution of precision.
    • gpgsvNumSentences

      public int gpgsvNumSentences
      Total number of $GPGSV sentences needed to describe all satellites in use.
  • Constructor Details

    • SatelliteCatalog

      public SatelliteCatalog()
      Create a SatelliteCatalog object.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.