I have always had a problem with my PID where if I tune the constants to make the robot turn 90 degrees, it works well, but only for 90 degrees. If I run the same program but command the robot to turn 180 degrees, it overshoots and oscillates because of the extra momentum it has from turning farther. Then, if I tune the constants for 180 degrees, the robot undershoots when commanded to turn 90 degrees.
I apologize if this is a basic question, but should kP, kI, and kD have different ideal values for different setpoints, or have I not tuned them properly and they should be the same? I have already searched the forum, but I haven’t found an answer yet.