Merge "Default bufLength for PIDController in Java should be 1"

This commit is contained in:
Brad Miller (WPI)
2016-01-02 19:09:58 -08:00
committed by Gerrit Code Review

View File

@@ -40,7 +40,7 @@ public class PIDController implements PIDInterface, LiveWindowSendable, Controll
// integral calc
private Tolerance m_tolerance; // the tolerance object used to check if on
// target
private int m_bufLength = 0;
private int m_bufLength = 1;
private LinkedList<Double> m_buf;
private double m_bufTotal = 0.0;
private double m_setpoint = 0.0;