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

Fix parseModelDef for NatNet >=4.1.0 #18

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

azerupi
Copy link

@azerupi azerupi commented Aug 6, 2024

In version 4.1.0 there seems to be an extra 4 bytes representing the length in bytes after the dataset type bytes. This was causing the lib to crash with a segmentation fault. In the Python client from optitrack the length doesn't seem to be used (yet?) so I just skip the bytes here.

@whoenig whoenig merged commit 251b6c6 into IMRCLab:main Aug 6, 2024
14 checks passed
@whoenig
Copy link

whoenig commented Aug 6, 2024

That's great - thanks! I personally always switched to the closed-source backend since I didn't have time to investigate the source of the seg fault...

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