-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NMEA0183 Library Extension for encoding AIS #13
Comments
Hi Timo, So I have started an Addendum to NMEA0183 library for AIS encoding from parsed N2k values from ParseN2kPGN129038, which is Type 1: Position Report Class A to start with:
Even if it is far from a Pull Request, it is working code. Before I continue with encoding other sentences, would you like to have a look and comment on the code? |
One Issue I found: the COG is not correct. Because I now for sure, that this ferry boat was sailing COG around 260°... :-) I got from N2kParser: Name Value --> AIS Value |
4.75 rad = 272 deg. I checked and it should be right on ParseN2kPGN129038 and returns radians. I tried to keep all units in SI, but unfortunately originally did not fix that to lat/lon, which are in degrees. There are also some other inconsistense. All angles except lat/lon should be in radians. |
Type 1 Class A Position Report should work now with all units corrected. |
Working NMEA0183 Library Add On for converting: can be found here: There is lot's to might be improved.... |
Do not know if this is the right place for this:
Is it somewhere already, or are there any plans, or is there somebody working on NMEA2000 AIS PGNs converting to "NMEA" !AIVDM sentences yet?
The text was updated successfully, but these errors were encountered: