The PID inputs need to be wrapped so that for example, a gyro at 350 degrees, does not make a full circle to go to 10 degrees.
The PID inputs need to be wrapped so that for example, a gyro at 350 degrees, does not make a full circle to go to 10 degrees.