Open
Description
Problem description
calculate(curVel, curAccel)
versus
calculate(curVel, nextVel)
Here's where we got burned:
The change in API is mentioned (indirectly-ish) in the wpilib 2025 change notes (and shows up in the doc text for that function), so we were able to find it within ~30 minutes of debug.
However, per a quick chat with Peter, this is maybe something to consider, since the API break relied on C++'s units implementation, which is currently collapsed away in python.
I'm not sure what exactly could be done to help catch this in python in future years (typehinting checks?), but I also haven't thought about it a ton. I will do some more thinking/asking around, and make some comments if I have ideas.
Operating System
Windows
Installed Python Packages
N/A
Reproducible example code
See links above.