-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
map: Transfer to MapLibre #31185
map: Transfer to MapLibre #31185
Conversation
I'd probably start with replaying the demo route and just checking the map generally works in the UI, then test the map renderer. See here for getting setup: https://github.com/commaai/openpilot/tree/master/selfdrive/navd#development |
What does full desktop support mean? We can't make this work with 5.12? |
@adeebshihadeh anything below 5.15 doesn't support |
Ah, if there's lot of hacks, then I don't think this is worth it. We'll be switching to 24.04 in a few months when it's out anyway. If you confirm there are lots of hacks to get it working on our Qt, then we can just keep this bounty locked to you until the switch. |
Okay, I made it work with 5.12. I made a small PR that makes it compilable with Qt 5.12. We don't need I was trying to test with the demo route of |
Nice! I see that got merged already. Testing it doesn't require a route with nav enabled; the map will be available if you have everything setup, such as a token. |
@adeebshihadeh it seems to work perfectly now, do you need me to upload the compiled library or do you want me to write a shell to download and set it up automatically. Here is a snapshot of the demo with maplibre. Still figuring out how to record videos :) |
Great. We always want a script to build the |
@mitchellgoffpc any validation you want to do before merging this? |
@adeebshihadeh added the build script
The UI works fine, if possible you can test it out just to make sure I didn't introduce any bug, but the |
Yeah we should verify that it doesn't impact model performance, will run those tests tomorrow morning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't run it yet, but it looks pretty good! I left a few minor things to cleanup.
CI is passing now, but there's some issues building it on device (CMake is too old and it's missing |
Got it working on the comma 3X, and all the tests pass except navModel replay. I'll update the refs once you verify @mitchellgoffpc. |
@adeebshihadeh lgtm, model behavior appears to be pretty much identical |
This comment was marked as resolved.
This comment was marked as resolved.
@SurferSD please use the build script, and i think its better to open an issue rather than commenting on Pr since it mostly relates to development |
Description
Currently translate the codebase to maplibre-qt already.
Verification
Trying to build maplibre-qt, but is currently facing an issue similar to this. Failing to build because of missing
qtlocation5-private-dev
package and it is not available on aptWill test using
map_renderer.py
, not sure if this is a good way to test this? Probably better test with replay