Remove useless variables and commented stuff in Robot.java
authorEvanYap <evanyap.14@gmail.com>
Sat, 13 Feb 2016 05:10:20 +0000 (21:10 -0800)
committerEvanYap <evanyap.14@gmail.com>
Sat, 13 Feb 2016 05:20:05 +0000 (21:20 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index b1b58641678723e1ca0b701edc1e867a7ef3b476..9b94e18ef2b16e9dba591cd905209b0d899b70aa 100644 (file)
@@ -1,7 +1,6 @@
 package org.usfirst.frc.team3501.robot;
 
 import org.usfirst.frc.team3501.robot.Constants.Defense;
-import org.usfirst.frc.team3501.robot.GyroLib.Rotation;
 import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
 import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
 import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
@@ -20,7 +19,6 @@ public class Robot extends IterativeRobot {
   public static Shooter shooter;
 
   public static Scaler scaler;
-  double then;
 
   public static IntakeArm intakeArm;
   public static DefenseArm defenseArm;
@@ -31,35 +29,16 @@ public class Robot extends IterativeRobot {
       positionFourDefense, positionFiveDefense;
 
   // Gyro stuff
-  short rawValue;
   public GyroLib gyro;
 
-  double now;
-  double degreesIncreased;
-  double degrees;
-
-  Rotation rotation;
-
   @Override
   public void robotInit() {
-    // driveTrain = new DriveTrain();
     gyro = new GyroLib(I2C.Port.kOnboard, false);
-    // oi = new OI();
 
     shooter = new Shooter();
     scaler = new Scaler();
     intakeArm = new IntakeArm();
 
-    // Sendable Choosers allows the driver to select the position of the
-    // robot
-    // and the positions of the defenses from a drop-down menu on the Smart
-    // Dashboard
-    // make the Sendable Choosers
-    // initializeSendableChoosers();
-    // addPositionChooserOptions();
-    // addDefensesToAllDefenseSendableChooosers();
-    // sendSendableChoosersToSmartDashboard();
-
   }
 
   private void initializeSendableChoosers() {