Remove zeroReferenceConst()
authorEric Sandoval <harpnart@gmail.com>
Tue, 17 Jan 2017 03:50:52 +0000 (19:50 -0800)
committerEric Sandoval <harpnart@gmail.com>
Tue, 17 Jan 2017 03:50:52 +0000 (19:50 -0800)
src/org/usfirst/frc/team3501/robot/utils/BNO055.java

index f6aadcdc3bb2d55743711d8ba9d65e3f278c0574..08ca79fa136fcbabd8fb13629fce91dca99a5dd3 100644 (file)
@@ -315,14 +315,6 @@ public class BNO055 {
     executor = new java.util.Timer();
     executor.schedule(new BNO055UpdateTask(this), 0L, THREAD_PERIOD);
 
-    setZeroReferenceConst();
-  }
-
-  /***
-   * Sets the starting heading to the zero reference angle of the readings
-   * This method should be left private and only be ran once
-   */
-  private void setZeroReferenceConst() {
     zeroReferenceConst = getHeading();
   }