Skip to content
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

feat: add support for ais message type 6, 10, 12, 13, 14 and 27 #23

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

salsabiljb
Copy link
Contributor

@salsabiljb salsabiljb commented Sep 9, 2024

added support for parsing AIS messages type 6, 10, 12, 13, 14 and 27 , following this documentation AIVDM/AIVDO protocol decoding. I tested each type on a sample of messages taken from whether the gpsd test file, or from Arundale AIS, and some from the same messages pyais library used to test their code base.

Type 6 :
Pasted image

Type 10 :
Screenshot from 2024-10-07 19-09-38

Type 12 :
Pasted image

Type 13 :

Screenshot from 2024-10-07 19-11-33

TYpe 14:
Pasted image

Type 27 :

with specialized parsers for course and speed over ground specific to AIS message type 27 following the documentation.

Pasted image

NOTE :

Each file is commented, reach me out if you need any additional information.

src/messages/binary_addressed.rs Outdated Show resolved Hide resolved
src/messages/binary_addressed.rs Outdated Show resolved Hide resolved
@salsabiljb salsabiljb force-pushed the Ais_Message_Types branch 2 times, most recently from 735da0c to 224135c Compare September 9, 2024 22:44
src/messages/mod.rs Fixed Show fixed Hide fixed
src/messages/mod.rs Fixed Show fixed Hide fixed
src/messages/mod.rs Show resolved Hide resolved
src/messages/mod.rs Show resolved Hide resolved
@squidpickles squidpickles merged commit 175072f into squidpickles:main Oct 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants