Our team has been dabbling in autonomous code and we’ve gotten to the point where we can select our auto in shuffleboard, change the FRC Driver station to autonomous mode, and then enable the auto. Still, instead of taxing like intended, our robot’s motor started oscillating like crazy. Any advice for troubleshooting?
Specifically, the PID values you might want to look at are in your HolonomicPathFollowerConfig class in your PathPlanner configuration:
A kP value of 100 would probably lead to issues. For comparison, the PathPlanner documentation examples have a kP of 5 and the CTRE Swerve PathPlanner example uses 10.