-
Notifications
You must be signed in to change notification settings - Fork 196
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
[photon-targeting] Fix JNI loading #1563
Conversation
38b9337
to
5c7ee37
Compare
Would like to see this tested on a robot <3 but ty! |
I needed to add |
Are you sure you don't have two PhotonVersion.h's floating around? |
I tried running the |
There are in fact two PhotonVersion.h'es. One in |
Agreed. The clean task seems not to be sufficiently aggressive with its cleaning of generated files too (needs to be fixed). On current main we would want to delete the generated one and keep the in-source one. |
Opened #1564 for tracking |
d8248ff
to
86882ad
Compare
6aa7ff1
to
1e72a45
Compare
I've updated your PR description |
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.
Needs testing on a Rio; happy otherwise
This is still a hack, but it should work better than the old one.
For simulation:
For RoboRIO:
reasonsPhotonTargetingJniLoader