Edit

Share via


HeadingTrue Class

Definition

HDT Sentence: Heading true. This is either a calculated message by using the HDM message and a magnetic variation model, or directly measured using a gyrocompass. But since these are very expensive and power-hungry, they are only available in big ships or aircraft. Note that the direction reported by the GNS sequence GPVTG is the track over ground, which is generally not equal to the heading.

public class HeadingTrue : Iot.Device.Nmea0183.Sentences.NmeaSentence
type HeadingTrue = class
    inherit NmeaSentence
Public Class HeadingTrue
Inherits NmeaSentence
Inheritance
HeadingTrue

Constructors

HeadingTrue(Double)

Constructs a new MWV sentence

HeadingTrue(TalkerId, IEnumerable<String>, DateTimeOffset)

Date and time message (ZDA). This should not normally need the last time as argument, because it defines it.

HeadingTrue(TalkerSentence, DateTimeOffset)

Internal constructor

Properties

Age

Age of this message

(Inherited from NmeaSentence)
Angle

Angle to report (0: North, 90 East, etc.)

DateTime

The time tag on this message

(Inherited from NmeaSentence)
Id

This sentence ID "HDT"

ReplacesOlderInstance

This is true for this message type

SentenceId

The sentence Id of this packet

(Inherited from NmeaSentence)
TalkerId

The talker (sender) of this message

(Inherited from NmeaSentence)
Valid

True if the contents of this message are valid / understood This is false if the message type could be decoded, but the contents seem invalid or there's no useful data

(Inherited from NmeaSentence)

Methods

AgeTo(DateTimeOffset)

The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past.

(Inherited from NmeaSentence)
ReadChar(IEnumerator<String>)

Decodes the next field into a char

(Inherited from NmeaSentence)
ReadInt(IEnumerator<String>)

Decodes the next field into an int

(Inherited from NmeaSentence)
ReadString(IEnumerator<String>)

Decodes the next field into a string

(Inherited from NmeaSentence)
ReadValue(IEnumerator<String>)

Decodes the next field into a double

(Inherited from NmeaSentence)
ToNmeaMessage()

Translates the properties of this instance into an NMEA message

(Inherited from NmeaSentence)
ToNmeaParameterList()

Presents this message as output

ToReadableContent()

Gets an user-readable string about this message

ToString()

Generates a readable instance of this string. Not overridable, use ToReadableContent() to override. (this is to prevent confusion with ToNmeaMessage().) Do not use this method to create an NMEA sentence.

(Inherited from NmeaSentence)

Applies to