schwehr / libais

C++ decoder for Automatic Identification System for tracking ships and decoding maritime information
Other
218 stars 97 forks source link

Ais8_200_10 draught is off by a factor of 10 #193

Open cookiemon opened 5 years ago

cookiemon commented 5 years ago

According to this page and consistent with the reference linked as INLAND the draught in Ais8_200_10 messages it has a factor of 100 while libais only divides by 10 to calculate meters.

https://github.com/schwehr/libais/blob/e464cf8ccf4458bcc64fb763f906ee54eb0ce984/src/libais/ais8_200.cpp#L30