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

improve DoCommand in motion/builtin to properly support WorldStates #4629

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

raybjork
Copy link
Member

There currently exists a bug in the DoPlan option in motion/builtin's DoCommand function where when you pass a WorldState it is not properly deserialized. This is due to the protobuf struct making use of oneofs. This PR switches the library used for serialization and deserializing of the MoveReq to the the protojson package which solves this problem by properly using the struct tags in the protobuf

@raybjork raybjork requested a review from nfranczak December 13, 2024 18:42
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Dec 13, 2024
@raybjork raybjork requested a review from biotinker December 13, 2024 18:42
Copy link
Member

@biotinker biotinker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@raybjork raybjork merged commit cbe96a4 into viamrobotics:main Dec 16, 2024
16 checks passed
@raybjork raybjork deleted the worldserialize branch December 16, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants