Refactor name of FirebotGyro class to GyroClass since another team mentor created it
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Robot.java
index c40b9ba6dcd9bd274bf7c9c9b3e9fd247dfc68ce..8d69370ed8702c5db2ab20d5105bfe1fc7f120c0 100644 (file)
@@ -31,7 +31,7 @@ public class Robot extends IterativeRobot {
   // Gyro stuff
   private final static double NANOSECONDS_PER_SECOND = 1000000000;
   short rawValue;
-  public FirebotGyro gyro;
+  public GyroClass gyro;
 
   double degreesIncreased;
   double degrees;
@@ -39,7 +39,7 @@ public class Robot extends IterativeRobot {
   @Override
   public void robotInit() {
     // driveTrain = new DriveTrain();
-    gyro = new FirebotGyro(I2C.Port.kOnboard, (byte) 0x68);
+    gyro = new GyroClass(I2C.Port.kOnboard, (byte) 0x68);
     // oi = new OI();
 
     shooter = new Shooter();