CIDCO-dev / MBES-lib

Multibeam echosounder function library
MIT License
28 stars 17 forks source link

Can't decode starfish xtf data #226

Closed JordanMcManus closed 4 years ago

JordanMcManus commented 4 years ago

Currently obtain segmentation fault when trying to decode starfish xtf data.

Probably need to add data structs to XtfParser.

glabmoris commented 4 years ago

I can confirm that this is not a missing datagram issue, it clearly contains the ID 0 datagrams for sidescan data. It does not contain position or attitude datagrams though. Just like the plane example

glm@Omega:~/src/MBES-lib$ ./build/bin/datagram-list test/data/xtf/plane-sidescan2d.xtf |sort|uniq -c
Decoding test/data/xtf/plane-sidescan2d.xtf
   2009 0
glm@Omega:~/src/MBES-lib$ ./build/bin/datagram-list test/data/xtfStarFish/22_07_2020_C1.xtf |sort|uniq -c
Decoding test/data/xtfStarFish/22_07_2020_C1.xtf
   3617 0
glabmoris commented 4 years ago

I can decode them perfectly using the latest version of opensidescan updated to the latest MBES-lib dependency.

image

glabmoris commented 4 years ago

Closing this as a non-issue until it can be reproduced. Also, I'm going to leave a single XTF file as a starfish example only.

JordanMcManus commented 4 years ago

Nice!

I just realised I used georeference executable and that is why I got segfault.