Skip to main content

Struct GnssPositionInfo

Represents a GNSS/GPS position reading

Assembly: Meadow.Contracts.dll
View Source
Declaration
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
Declaration
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
Declaration
public string TalkerSystemName { get; }

TimeOfReading

Time the reading was generated.

View Source
Declaration
public DateTime? TimeOfReading { readonly get; set; }

Valid

Indicate if the data is valid or not.

View Source
Declaration
public bool Valid { readonly get; set; }

SpeedInKnots

Current speed in Knots.

View Source
Declaration
public decimal? SpeedInKnots { readonly get; set; }

CourseHeading

Course in degrees (true heading).

View Source
Declaration
public decimal? CourseHeading { readonly get; set; }

MagneticVariation

Magnetic variation.

View Source
Declaration
public CardinalDirection MagneticVariation { readonly get; set; }

Position

Global position

View Source
Declaration
public SphericalPositionInfo? Position { readonly get; set; }

FixQuality

Quality of the fix.

View Source
Declaration
public FixType? FixQuality { readonly get; set; }

NumberOfSatellites

Number of satellites used to generate the positional information.

View Source
Declaration
public int? NumberOfSatellites { readonly get; set; }

HorizontalDilutionOfPrecision

Horizontal dilution of position (HDOP).

View Source
Declaration
public decimal? HorizontalDilutionOfPrecision { readonly get; set; }

Methods

ToString()

Returns a formatted string representing the Meadow.Peripherals.Sensors.Location.Gnss.GnssPositionInfo struct.

View Source
Declaration
public override string ToString()
Returns

System.String: A formatted string representing the Meadow.Peripherals.Sensors.Location.Gnss.GnssPositionInfo struct.

Implements