Skip to main content

Struct CourseOverGround

Decoded data for the VTG - Course over ground and ground speed messages.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public struct CourseOverGround : 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; }

TrueHeading

True heading in degrees.

View Source
Declaration
public decimal TrueHeading { readonly get; set; }

MagneticHeading

Magnetic heading.

View Source
Declaration
public decimal MagneticHeading { readonly get; set; }

Knots

Speed measured in knots.

View Source
Declaration
public decimal Knots { readonly get; set; }

Kph

Speed measured in kilometers per hour.

View Source
Declaration
public decimal Kph { readonly get; set; }

Methods

ToString()

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

View Source
Declaration
public override string ToString()
Returns

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

Implements