Skip to content

Conversation

@mpurnell1
Copy link
Contributor

@mpurnell1 mpurnell1 commented Dec 11, 2025

Description
The Cython code for transformations is removed and reimplemented solely in Python and NumPy. Additional tests are also added to test expected errors/failures. This is part 2 of 10 of the larger PR to fully remove cython from openpilot.

Verification
op test common/transformations before these changes:
image

op test common/transformations after these changes:
image

@mpurnell1 mpurnell1 mentioned this pull request Dec 11, 2025
11 tasks
@mpurnell1 mpurnell1 changed the title transformations: Move all cython to cc transformations: Move all Cython to Python and C++ Dec 11, 2025
@mpurnell1 mpurnell1 marked this pull request as ready for review December 11, 2025 22:33
@adeebshihadeh
Copy link
Contributor

For this, I think we want to explore just using pure Python + numpy instead.

@mpurnell1
Copy link
Contributor Author

For this, I think we want to explore just using pure Python + numpy instead.

This has been implemented! I also added a few more tests, just to verify everything is working as expected. Let me know what you think

@adeebshihadeh
Copy link
Contributor

trigger-jenkins

@adeebshihadeh adeebshihadeh changed the title transformations: Move all Cython to Python and C++ transformations: move Cython to pure Python Dec 12, 2025
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