Skip to content

Support pickling geometry types#116

Closed
mailmindlin wants to merge 1 commit into
robotpy:mainfrom
mailmindlin:2025-dev
Closed

Support pickling geometry types#116
mailmindlin wants to merge 1 commit into
robotpy:mainfrom
mailmindlin:2025-dev

Conversation

@mailmindlin

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

Please rebase against main.

@auscompgeek

Copy link
Copy Markdown
Member

👋 hi @mailmindlin, were you interested in getting this change in this season?

@virtuald

Copy link
Copy Markdown
Member

We can't merge this without tests, sorry. Definitely interested in the functionality if you (or someone else) decides to pick this up.

@virtuald virtuald closed this Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants