Skip to content

Conversation

@lordphone
Copy link
Contributor

Problem

Some paths in example notebooks and the README have been incorrect since this commit that restructures util folders: f304c57

Solution

This PR updates:

  1. position_benchmark notebook now looks at the correct folder "utils" instead of the non-existent "notebooks/lib" folder for utils.
  2. Updated position_benchmark and raw_readers notebook to use relative paths for tools/utils to: be consistent with the processed_reader notebook, and remove the need to manually add paths into PYTHONPATH with export commands.
  3. Updates the README to reflect these changes.

Testing

I believe all three notebooks can run correctly now, without much intervention.

Additional Notes

No functional code was changed, only example notebooks and the README.

This is my first time trying to contribute to open source code, so please, if an mistake is made, point me to the right direction and I'll learn from it, thank you!

Updated the correct folder path for position_benchmark notebook, added path to openpilot folder for raw_readers notebook.
Now, all three notebooks handle PYTHONPATH the same way as the processed_readers notebook originally does, and theres no need for manually adding paths to utilities to PYTHONPATH with export command.
Updated README to reflect this change.
@lordphone
Copy link
Contributor Author

Looks like the github workflow test failed because python 3.7 is at end of life. I will close this pull request, perhaps update the workflow with python 3.8, and combine these two issues into a new pull request.

@lordphone lordphone closed this Apr 6, 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.

1 participant