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 subtype iterator mapping #25

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Fix subtype iterator mapping #25

merged 1 commit into from
Oct 4, 2024

Conversation

stelzo
Copy link
Owner

@stelzo stelzo commented Oct 4, 2024

Within the conversion of a PointCloud2Msg to a subset point the byte buffer was incorrectly read when the occurance of an attribute in the subtype comes later than the length of attributes of the subtype inside the Msg.

This PR fixes that by using a for loop instead of a zipped mutable iterator.

@stelzo stelzo merged commit 3258198 into main Oct 4, 2024
16 of 18 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.

1 participant