add any slight changes if any (safety commit) EricS
authorEric Sandoval <harpnart@gmail.com>
Tue, 17 Jan 2017 06:25:24 +0000 (22:25 -0800)
committerEric Sandoval <harpnart@gmail.com>
Tue, 17 Jan 2017 06:25:24 +0000 (22:25 -0800)
src/org/usfirst/frc/team3501/robot/utils/BNO055.java

index e6d1a1521b20ce38a545ae8c444e64bf2080b2aa..bc38ffcfcb70a8a4231f9862bc1d1e6851dfce5d 100644 (file)
@@ -447,7 +447,7 @@ public class BNO055 {
       case 9:
         if (currentTime >= nextTime) {
           calculateVector();
-          zeroReferenceConst = getRawHeading();
+          zeroReferenceConst = getDefaultHeading();
           initialized = true;
         }
         break;