Struct GnssPositionInfo
Represents a GNSS/GPS position reading
Assembly: Meadow.Contracts.dll
View Source
public struct GnssPositionInfo : IGnssResult
Implements:
Meadow.Peripherals.Sensors.Location.Gnss.IGnssResult
Properties
TalkerID
The first two letters (after the starting delimiter) comprise the Talker ID, which describes the system in use, for instance "GL" means that the data came from the GLONASS system. "BD" means BeiDou, etc.
Default value is "GP".
View Source
public string TalkerID { readonly get; set; }
TalkerSystemName
Retrieves the full name associated with the TalkerID via the
KnownTalkerIDs
property of the Lookups class.
View Source
public string TalkerSystemName { get; }
TimeOfReading
Time the reading was generated.
View Source
public DateTime? TimeOfReading { readonly get; set; }
IsValid
Indicate if the data is valid or not.
View Source
public bool IsValid { readonly get; set; }
Speed
Current speed
View Source
public Speed? Speed { readonly get; set; }
CourseHeading
Course (true heading).
View Source
public Azimuth? CourseHeading { readonly get; set; }
MagneticVariation
Magnetic variation.
View Source
public CardinalDirection MagneticVariation { readonly get; set; }
Position
Global position
View Source
public GeographicCoordinate? Position { readonly get; set; }
FixQuality
Quality of the fix.
View Source
public FixType? FixQuality { readonly get; set; }
NumberOfSatellites
Number of satellites used to generate the positional information.
View Source
public int? NumberOfSatellites { readonly get; set; }
HorizontalDilutionOfPrecision
Horizontal dilution of position (HDOP).
View Source
public decimal? HorizontalDilutionOfPrecision { readonly get; set; }
Methods
ToString()
Returns a formatted string representing the Meadow.Peripherals.Sensors.Location.Gnss.GnssPositionInfo struct.
View Source
public override string ToString()
Returns
System.String
: A formatted string representing the Meadow.Peripherals.Sensors.Location.Gnss.GnssPositionInfo struct.