Last Tuesday, we succesfully calibrated our path following algorithm for our autonomous. We are using Pathweaver for trajectory generation and the wpilib Ramsete library for the actual path following. We accurately tracked the trajectory with a maximum velocity of about 3 m/s. The autonomous routine was repeated many many times during the evening, with very good consistency.
Two days later, with no mechanical or programming changes, we cannot follow the track anymore. We are always overshoot when turning. The feedforward and feedback gains are the same. We are using the exact same paths in Pathweaver, but now we can barely follow the path at 1 m/s. All other commands seem to work as intended and we can drive very well in teleop. We validated that our encoders and gyro are working correctly.
The only change on the robot was that we swapped the PCM, but we doubt it would affect the path following.
We are honestly at a lost about the cause of this change. Any help would be appreciated.
Thanks !!