public class SatelliteState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SatelliteState.GnssId
ID codes for constellations of GNSS as used by gpsd (as derived from u-blox usage).
|
Modifier and Type | Field and Description |
---|---|
int |
azimuth
Horizontal orientation to this satellite relative to the current surface position and True North.
|
int |
elevation
Elevation above the horizon for this satellite relative to the current surface position.
|
SatelliteState.GnssId |
gnssid
GNSS constellation ID for this satellite.
|
boolean |
inUseByRcvr
Boolean true if this satellite is currently being used for position calculation.
|
int |
prn
Pseudo-random number identifying this satellite.
|
int |
snr
Signal-to-noise ratio code for current reception of this satellite.
|
int |
svid
Satellite vehicle ID number within a GNSS constellation.
|
Constructor and Description |
---|
SatelliteState(int prn)
Create a SatelliteState record for a particular satellite.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public final int prn
public int svid
public SatelliteState.GnssId gnssid
public boolean inUseByRcvr
public int elevation
public int azimuth
public int snr
public SatelliteState(int prn)
prn
- Satellite Vehicle numberpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object