I’m seeing the same jittery problem today. I just reloaded the python dev environment
(switching back from the WPI/Java environment using this method) and the section of differential_drive quoted above looks like:
if main_controller is None:
main_controller = PID(
kp = 0.1,
ki = 0.04,
kd = 0.04,
min_output = 0.3,
max_output = max_effort,
max_integral = 10,
tolerance = 0.25,
tolerance_count = 3,
)
And that’s completely different from what’s in the file linked above.
Did I end up with the wrong version of the library?