Ramsete controller not working

I’m using The ramsete controller example from wpilib and i’m getting very weird results, when running the command it sorta jiggles back and forth very fast.

here are my gains if that helps
ks = 0.145
kv = 2.72
ka = 0.467
kPDriveVel = 15.9

You’re P gain is very high and the oscillations you are mentioning in the drive train are symptomatic of such a high gain.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.