hatlabs/SH-wg-firmware

NMEA 2000 Wind direction NA values get incorrectly translated

Opened this issue · 0 comments

NA placeholders seem to be translated at face value to NMEA 0183:

$IIMWV,-57295779513.1,T,,M,A*38
$IIMWV,-57295779513.1,R,,M,A*3E

IPython validation:

In [3]: -57295779513.1/360.*(2*math.pi)
Out[3]: -1000000000.0003084

A log file is attached.

AKSocketStream.log