public class Satellite
extends java.lang.Object
| Constructor and Description |
|---|
Satellite() |
Satellite(int p,
int e,
int a,
int s)
Constructor which indicate information about:
PRN, Elevation, Azimuth and SNR
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAzimuth()
Direction to the satellite in degrees.
|
int |
getElevation()
How many degrees over the horizon the satellite is.
|
int |
getPRN()
Return PRN number from a Satellite.
|
int |
getSignalNoiseRatio()
* Signal to Noise Ratio (SNR) for the signal from a satellite.
|
boolean |
isTracked()
Indicates if the GPS receiver is actively tracking this satellite and using it to fix the GPS location.
|
void |
setAzimuth(int a)
Set Azimuth
|
void |
setElevation(int e)
Set Elevation
|
void |
setPRN(int p)
Set PRN
|
void |
setSignalNoiseRatio(int s)
Set SNR
|
void |
setTracked(boolean tracked) |
public Satellite()
public Satellite(int p,
int e,
int a,
int s)
p - e - a - s - public int getPRN()
public void setPRN(int p)
p - public int getElevation()
public boolean isTracked()
public void setTracked(boolean tracked)
public void setElevation(int e)
e - public int getAzimuth()
public void setAzimuth(int a)
a - public int getSignalNoiseRatio()
public void setSignalNoiseRatio(int s)
s -