Skip to main content

Class GnssPositionInfo

Represents a GNSS/GPS position reading.

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

Valid

Indicate if the data is valid or not.

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

SpeedInKnots

Current speed in Knots.

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

CourseHeading

Course in degrees (true heading).

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

MagneticVariation

Magnetic variation.

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

Position

Global position

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

FixQuality

Quality of the fix.

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

NumberOfSatellites

Number of satellites used to generate the positional information.

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

HorizontalDilutionOfPrecision

Horizontal dilution of position (HDOP).

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

Methods

ToString()

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

View Source
Declaration
public override string ToString()
Returns

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

Implements