Team 5016 working with Tuner X generated code. When we enable Teleop, the modules all seem to try and center, but keep overshooting the encoder. We thought it was due to the floor, so we added carpet. Same result.
Make sure your joystick and/or velocity command deadzones are set properly. This was happening on ours until turning deadzones on. Xbox controllers need a 0.12 deadzone on the raw joystick values.
When you ran the steer verification in Tuner X, did all the swerve modules spin counter-clockwise as seen from the top of the robot? It looks like you’re using inverted swerve modules, so there’s a chance that the steer motor invert should be true.
SOLVED It was the inverted swerve setting. I remember running it twice because the first time it was not right. Or so I thought. We will get the team to run it again and see if we come out with the same constants. Thanks so much for the help.