Skip to main content

Class VtgDecoder

Parses VTG (Velocity Made Good) messages from a GPS/GNSS receiver.

Assembly: NmeaProcessor.dll
View Source
Declaration
public class VtgDecoder : INmeaDecoder

Implements:
Meadow.Foundation.Sensors.Location.Gnss.INmeaDecoder

Properties

Prefix

Prefix for the VTG decoder.

View Source
Declaration
public string Prefix { get; }

Name

Friendly name for the VTG messages.

View Source
Declaration
public string Name { get; }

Methods

Process(NmeaSentence)

Process the data from a VTG message.

View Source
Declaration
public void Process(NmeaSentence sentence)
Parameters
TypeNameDescription
Meadow.Peripherals.Sensors.Location.Gnss.NmeaSentencesentenceString array of the message components for a VTG message.

Events

CourseAndVelocityReceived

Event to be raised when a course and velocity message is received and decoded.

View Source
Declaration
public event EventHandler<CourseOverGround> CourseAndVelocityReceived
Event Type

System.EventHandler<Meadow.Peripherals.Sensors.Location.Gnss.CourseOverGround>

Implements