Make methods to convert DegreesPerSecond to Degrees
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Robot.java
index e27c21f7a3ba59db9f8f1114ccbd963ee2487e4a..b8bc8ef5d0718980f0838d49a86e8ec37163db89 100644 (file)
@@ -16,6 +16,7 @@ public class Robot extends IterativeRobot {
   public static OI oi;
   public static DriveTrain driveTrain;
   public static Shooter shooter;
+
   public static Scaler scaler;
   public static IntakeArm intakeArm;
   public static DefenseArm defenseArm;
@@ -29,6 +30,7 @@ public class Robot extends IterativeRobot {
   public void robotInit() {
     driveTrain = new DriveTrain();
     oi = new OI();
+
     shooter = new Shooter();
     scaler = new Scaler();
     intakeArm = new IntakeArm();
@@ -131,11 +133,11 @@ public class Robot extends IterativeRobot {
 
   @Override
   public void teleopInit() {
+    Robot.driveTrain.initializeGyro();
   }
 
   @Override
   public void teleopPeriodic() {
     Scheduler.getInstance().run();
-
   }
 }