Hey y’all - looking for suggestions about why after upgrading WPILib to the new 2022.4.1
release, the diagnostic information on the RIO shows that the library version is still 2022.3.1
. This is after a restart, gradlew clean, redeploy, etc. Any other suggestions?
If you haven’t, try restarting the driver station and/or the roborio (not sure what you’ve restarted).
Reimaging should fix it as well.
I’ll give re-imaging a try. Restarting the driver station and RIO didn’t seem to get the value to update.
Can you post a screenshot of the window from “WPILib: Open project information”
Sorry for the delay here -
The WPILib project information reflects the expected version, but the Driver Station doesn’t for some reason. Wondering if this is just a display thing or if it’s actually some mismatch I should be worried about
I have a weird feeling that one of the vendor deps here is messing things up. Just to verify, from a command line, run ./gradlew dependencies
That should show which libraries are being loaded. Assuming you see wpilibj 2022.4.1 there, everything should be good, and this can be ignored. The other way you can check is to see if you have a DataLogManager
class in edu.wpi.first.wpilibj. If you call DataLogManager.start()
, and that runs on the rio, everything is fine, and its just something weird with the display that could probably be ignored.
Also, is your project posted anywhere? I could try some more steps to if it is. Or you can PM me a zip of your project if you don’t want it to be public.
I’ll give the DataLogManager
a try. The ./gradlew dependencies
output has all 2022.4.1
dependencies - as expected.
Ah - figured this out. We’re using AdvantageKit for logging - which shims our WPILib. We were using an old version of AdvantageKit that was built using the 2022.3.1
release. Updating that dependency fixed the mismatched versions for us.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.