adrianmo / go-nmea

A NMEA parser library in pure Go
MIT License
226 stars 77 forks source link

Add sentence THS #47

Closed sthorshaug closed 5 years ago

sthorshaug commented 5 years ago

This PR adds parsing of the THS sentence.
THS is equal to HDT, but contains status information for the heading as an extra field.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 7c8a893ea2dd6771da13428ce8bd3bd80bb8453d on sthorshaug:add_msg_ths into 68874158e14199970d519c63fea3c05d073164f2 on adrianmo:master.

sthorshaug commented 5 years ago

@adrianmo THS was specified in NMEA 0183 revision 4.x.
Unfortunately I've not been able to find a good public reference to the message, the only reference is this one.
I've got access to the 4.x version of the NMEA 0183 standard, and the message is stated there as in the link I have attached here, but with more information in the closed version of the standard.

icholy commented 5 years ago

@adrianmo maybe we should start writing/keeping our own message specification as part of the repo/docs.

adrianmo commented 5 years ago

@icholy yes, that makes sense. How about adding them to the wiki?

icholy commented 5 years ago

@adrianmo yeah, let's open a separate issue for that though. #48