Package org.ka2ddo.gps
Class SatelliteState
java.lang.Object
org.ka2ddo.gps.SatelliteState
This class contains all the known information for one GPS satellite.
- Author:
- Andrew Pavlin, KA2DDO
-
Field Summary
Modifier and TypeFieldDescriptionint
Horizontal orientation to this satellite relative to the current surface position and True North.int
Elevation above the horizon for this satellite relative to the current surface position.boolean
Boolean true if this satellite is currently being used for position calculation.final int
Pseudo-random number identifying this satellite (also known as Satellite Vehicle number).int
Signal-to-noise ratio code for current reception of this satellite. -
Constructor Summary
ConstructorDescriptionSatelliteState
(int prn) Create a SatelliteState record for a particular satellite. -
Method Summary
-
Field Details
-
prn
public final int prnPseudo-random number identifying this satellite (also known as Satellite Vehicle number). -
inUseByRcvr
public boolean inUseByRcvrBoolean true if this satellite is currently being used for position calculation. -
elevation
public int elevationElevation above the horizon for this satellite relative to the current surface position. -
azimuth
public int azimuthHorizontal orientation to this satellite relative to the current surface position and True North. -
snr
public int snrSignal-to-noise ratio code for current reception of this satellite.
-
-
Constructor Details
-
SatelliteState
public SatelliteState(int prn) Create a SatelliteState record for a particular satellite.- Parameters:
prn
- Satellite Vehicle number
-
-
Method Details
-
hashCode
public int hashCode()Returns a hash code value for the object. -
equals
Indicates whether some other object is "equal to" this one. -
toString
Returns a string representation of the object.
-