Skip to main content

Class GnssPositionInfo

Represents a GNSS/GPS position reading.

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

Valid

Indicate if the data is valid or not.

View Source
public bool Valid { get; set; }

SpeedInKnots

Current speed in Knots.

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

CourseHeading

Course in degrees (true heading).

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

MagneticVariation

Magnetic variation.

View Source
public CardinalDirection MagneticVariation { get; set; }

Position

Global position

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

FixQuality

Quality of the fix.

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

NumberOfSatellites

Number of satellites used to generate the positional information.

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

HorizontalDilutionOfPrecision

Horizontal dilution of position (HDOP).

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

Methods

ToString()

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

View Source
public override string ToString()
Returns

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

Implements