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

Support pickling geometry types #116

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mailmindlin
Copy link
Contributor

Currently the geometry types in wpimath.geometry package can't be pickled. This is especially useful for compatibility with other python libraries (e.g., multiprocessing).

NB: I wasn't sure what the standard for PRs is (should I make this PR into main or 2025-beta-3?).

@virtuald
Copy link
Member

This is a great idea. It would be good to add tests to round-trip the data to ensure it's actually correct and doesn't accidentally break in the future.

@virtuald
Copy link
Member

Please rebase against main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

Successfully merging this pull request may close these issues.

2 participants