|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.gps.Satellite
public class Satellite
This class models data extracted from NMEA GSV Sentence $GPGSV,1,1,13,02,02,213,,03,-3,000,,11,00,121,,14,13,172,05*67 4 = SV PRN number 5 = Elevation in degrees, 90 maximum 6 = Azimuth, degrees from true north, 000 to 359 7 = SNR, 00-99 dB (null when not tracking) You can find out more about a satellite by looking up the PRN number here: http://en.wikipedia.org/wiki/List_of_GPS_satellite_launches
Constructor Summary | |
---|---|
Satellite()
|
|
Satellite(int p,
int e,
int a,
int s)
Constructor which indicate information about: PRN, Elevation, Azimuth and SNR |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Satellite()
public Satellite(int p, int e, int a, int s)
p
- e
- a
- s
- Method Detail |
---|
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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |