Class VtgDecoder
Parses VTG (Velocity Made Good) messages from a GPS/GNSS receiver.
Assembly: NmeaProcessor.dll
View Source
public class VtgDecoder : INmeaDecoder
Implements:
Meadow.Foundation.Sensors.Location.Gnss.INmeaDecoder
Properties
Prefix
Prefix for the VTG decoder.
View Source
public string Prefix { get; }
Name
Friendly name for the VTG messages.
View Source
public string Name { get; }
Methods
Process(NmeaSentence)
Process the data from a VTG message.
View Source
public void Process(NmeaSentence sentence)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Peripherals.Sensors.Location.Gnss.NmeaSentence | sentence | String 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
public event EventHandler<CourseOverGround> CourseAndVelocityReceived
Event Type
System.EventHandler<Meadow.Peripherals.Sensors.Location.Gnss.CourseOverGround>