pub struct NmeaSentences {
pub gga: bool,
pub gll: bool,
pub gsa: bool,
pub gsv: bool,
pub rmc: bool,
pub vtg: bool,
}Expand description
NMEA sentence output selection.
Controls which NMEA 0183 sentences are included when GPS data is output to the PC serial port. Each sentence provides different navigation data.
Fields§
§gga: boolGGA – Global Positioning System Fix Data. Contains time, position, fix quality, number of satellites, HDOP, altitude, and geoid separation.
gll: boolGLL – Geographic Position (latitude/longitude). Contains position and time with status.
gsa: boolGSA – GPS DOP (Dilution of Precision) and Active Satellites. Contains fix mode, satellite PRNs, PDOP, HDOP, VDOP.
gsv: boolGSV – GPS Satellites in View. Contains satellite PRN, elevation, azimuth, and SNR for each visible satellite.
rmc: boolRMC – Recommended Minimum Specific GNSS Data. Contains time, status, position, speed, course, date, and magnetic variation. This is the most commonly used sentence.
vtg: boolVTG – Course Over Ground and Ground Speed. Contains true/magnetic course and speed in knots/km/h.
Trait Implementations§
Source§impl Clone for NmeaSentences
impl Clone for NmeaSentences
Source§fn clone(&self) -> NmeaSentences
fn clone(&self) -> NmeaSentences
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more