Package org.openstreetmap.josm.io.nmea
Enum Class Sentence
- All Implemented Interfaces:
Serializable,Comparable<Sentence>,Constable
An NMEA sentence consists of a start delimiter, followed by a comma-separated sequence of fields,
followed by the character * (ASCII 42), the checksum and an end-of-line marker.
The start delimiter is normally $ (ASCII 36).
Most GPS sensors emit only RMC, GGA, GSA, GSV, GLL, VTG, and (rarely) ZDA. Newer ones conforming to NMEA 3.x may emit GBS as well. Other NMEA sentences are usually only emitted by high-end maritime navigation systems.
- Since:
- 12421
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGBS - GPS Satellite Fault DetectionGGA - Global Positioning System Fix DataGLL - Geographic Position - Latitude/LongitudeGSA - GPS DOP and active satellitesGST - GPS Pseudorange Noise StatisticsGSV - Satellites in viewRMC - Recommended Minimum Navigation InformationVTG - Track made good and Ground speedZDA - Time & Date - UTC, day, month, year and local time zone -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
GBS
GBS - GPS Satellite Fault Detection1 2 3 4 5 6 7 8 9 | | | | | | | | | $--GBS,hhmmss.ss,x.x,x.x,x.x,x.x,x.x,x.x,x.x*hhField Number:- UTC time of the GGA or GNS fix associated with this sentence
- Expected error in latitude (meters)
- Expected error in longitude (meters)
- Expected error in altitude (meters)
- PRN of most likely failed satellite
- Probability of missed detection for most likely failed satellite
- Estimate of bias in meters on most likely failed satellite
- Standard deviation of bias estimate
- Checksum
-
GGA
GGA - Global Positioning System Fix Data11 1 2 3 4 5 6 7 8 9 10 | 12 13 14 15 | | | | | | | | | | | | | | | $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hhField Number:- Universal Time Coordinated (UTC)
- Latitude
- N or S (North or South)
- Longitude
- E or W (East or West)
- GPS Quality Indicator,
- 0 - fix not available,
- 1 - GPS fix,
- 2 - Differential GPS fix (values above 2 are 2.3 features)
- 3 = PPS fix
- 4 = Real Time Kinematic
- 5 = Float RTK
- 6 = estimated (dead reckoning)
- 7 = Manual input mode
- 8 = Simulation mode
- Number of satellites in view, 00 - 12
- Horizontal Dilution of precision (meters)
- Antenna Altitude above/below mean-sea-level (geoid) (in meters)
- Units of antenna altitude, meters
- Geoidal separation, the difference between the WGS-84 earth ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level below ellipsoid
- Units of geoidal separation, meters
- Age of differential GPS data, time in seconds since last SC104 type 1 or 9 update, null field when DGPS is not used
- Differential reference station ID, 0000-1023
- Checksum
-
GSA
GSA - GPS DOP and active satellites1 2 3 14 15 16 17 18 | | | | | | | | $--GSA,a,a,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x.x,x.x,x.x*hhField Number:- Selection mode: M=Manual, forced to operate in 2D or 3D, A=Automatic, 3D/2D
- Mode (1 = no fix, 2 = 2D fix, 3 = 3D fix)
- ID of 1st satellite used for fix
- ID of 2nd satellite used for fix
- ID of 3rd satellite used for fix
- ID of 4th satellite used for fix
- ID of 5th satellite used for fix
- ID of 6th satellite used for fix
- ID of 7th satellite used for fix
- ID of 8th satellite used for fix
- ID of 9th satellite used for fix
- ID of 10th satellite used for fix
- ID of 11th satellite used for fix
- ID of 12th satellite used for fix
- PDOP
- HDOP
- VDOP
- Checksum
-
GSV
GSV - Satellites in view1 2 3 4 5 6 7 n | | | | | | | | $--GSV,x,x,x,x,x,x,x,...*hhField Number:- total number of GSV messages to be transmitted in this group
- 1-origin number of this GSV message within current group
- total number of satellites in view (leading zeros sent)
- satellite PRN number (leading zeros sent)
- elevation in degrees (00-90) (leading zeros sent)
- azimuth in degrees to true north (000-359) (leading zeros sent)
- SNR in dB (00-99) (leading zeros sent) more satellite info quadruples like 4-7 n) checksum
-
GLL
GLL - Geographic Position - Latitude/Longitude1 2 3 4 5 6 7 8 | | | | | | | | $--GLL,llll.ll,a,yyyyy.yy,a,hhmmss.ss,a,m,*hhField Number:- Latitude
- N or S (North or South)
- Longitude
- E or W (East or West)
- Universal Time Coordinated (UTC)
- Status A - Data Valid, V - Data Invalid
- FAA mode indicator (NMEA 2.3 and later)
- Checksum
-
GST
GST - GPS Pseudorange Noise Statistics1 2 3 4 5 6 7 8 9 | | | | | | | | | $ --GST,hhmmss.ss,x,x,x,x,x,x,x*hhField Number:- UTC time of associated GGA fix
- Total RMS standard deviation of ranges inputs to the navigation solution
- Standard deviation (meters) of semi-major axis of error ellipse
- Standard deviation (meters) of semi-minor axis of error ellipse
- Orientation of semi-major axis of error ellipse (true north degrees)
- Standard deviation (meters) of latitude error
- Standard deviation (meters) of longitude error
- Standard deviation (meters) of altitude error
- Checksum
-
RMC
RMC - Recommended Minimum Navigation Information12 1 2 3 4 5 6 7 8 9 10 11| 13 | | | | | | | | | | | | | $--RMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,xxxx,x.x,a,m,*hhField Number:- UTC Time
- Status, V=Navigation receiver warning A=Valid
- Latitude
- N or S
- Longitude
- E or W
- Speed over ground, knots
- Track made good, degrees true
- Date, ddmmyy
- Magnetic Variation, degrees
- E or W
- FAA mode indicator (NMEA 2.3 and later)
- Checksum
-
VTG
VTG - Track made good and Ground speed1 2 3 4 5 6 7 8 9 10 | | | | | | | | | | $--VTG,x.x,T,x.x,M,x.x,N,x.x,K,m,*hhField Number:- Track Degrees
- T = True
- Track Degrees
- M = Magnetic
- Speed Knots
- N = Knots
- Speed Kilometers Per Hour
- K = Kilometers Per Hour
- FAA mode indicator (NMEA 2.3 and later)
- Checksum
-
ZDA
ZDA - Time & Date - UTC, day, month, year and local time zone1 2 3 4 5 6 7 | | | | | | | $--ZDA,hhmmss.ss,xx,xx,xxxx,xx,xx*hhField Number:- UTC time (hours, minutes, seconds, may have fractional subsecond)
- Day, 01 to 31
- Month, 01 to 12
- Year (4 digits)
- Local zone description, 00 to +- 13 hours
- Local zone minutes description, apply same sign as local hours
- Checksum
-
-
Constructor Details
-
Sentence
private Sentence()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-