@@ -0,0 +1,555 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage com.team254.lib.util;%0A%0Aimport edu.wpi.first.wpilibj.Encoder;%0A%0A/**%0A *%0A * @author tombot%0A */%0Apublic class RelativeEncoder %7B%0A  private Encoder e;%0A  int val;%0A  %0A  public RelativeEncoder(Encoder e) %7B%0A    this.e = e;%0A    val = 0;%0A  %7D%0A  %0A  public void reset() %7B%0A    val = e.get();%0A  %7D%0A  %0A  public void resetAbsolute() %7B%0A    e.reset();%0A    reset();%0A  %7D%0A  %0A  public int get() %7B%0A    return e.get() - val;%0A  %7D%0A  %0A  public void start() %7B%0A    e.start();%0A  %7D%0A%7D%0A

Add RelativeEncoder