Struct titanic::parser::GgaSentence[][src]

pub struct GgaSentence {
    pub talker_id: [u8; 2],
    pub utc: NaiveTime,
    pub lat: Option<f64>,
    pub long: Option<f64>,
    pub gps_qlty: GpsQualityInd,
    pub sat_view: u64,
    pub hdop: Option<f64>,
    pub altitude: Option<f64>,
    pub geo_sep: Option<f64>,
    pub age: Option<f64>,
    pub station_id: Option<u32>,
}

Represents a correct GGA sentence and will usually be created by a GgaParser

Fields

Talker id contained in the header of every sentence.

Universal Time Coordinated (UTC)

Latitude in decimal degrees. A positive value indicates that the coordinate is in the northern hemisphere. A negative value indicates that the coordinate is in the southern hemisphere.

Longitude in decimal degrees. A positive value indicates that the coordinate is in the eastern hemisphere. A negative value indicates that the coordinate is in the western hemisphere.

Indicates the quality of the gps data.

Number of satellites in view.

Horizontal dilution of precision (meters)

Antenna Altitude above/below mean-sea-level (geoid) (in meters)

Geoidal separation, the difference between the WGS-84 earth ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level below ellipsoid

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

Trait Implementations

impl Debug for GgaSentence
[src]

Formats the value using the given formatter. Read more

impl PartialEq for GgaSentence
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for GgaSentence

impl Sync for GgaSentence