create defenseArm variable in robot.java
authorShaina Chen <shaina.sierra@gmail.com>
Wed, 10 Feb 2016 03:01:04 +0000 (19:01 -0800)
committerShaina Chen <shaina.sierra@gmail.com>
Wed, 10 Feb 2016 03:01:04 +0000 (19:01 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index 051aac623c756d54bc2f5ecf1e3555ceafcebcb2..71685c51327524058ee33760c112549a40dde356 100644 (file)
@@ -1,6 +1,7 @@
 package org.usfirst.frc.team3501.robot;
 
 import org.usfirst.frc.team3501.robot.Constants.Defense;
+import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
 import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
 import org.usfirst.frc.team3501.robot.subsystems.Scaler;
 import org.usfirst.frc.team3501.robot.subsystems.Shooter;
@@ -15,6 +16,7 @@ public class Robot extends IterativeRobot {
   public static DriveTrain driveTrain;
   public static Shooter shooter;
   public static Scaler scaler;
+  public static DefenseArm defenseArm;
 
   // Sendable Choosers send a drop down menu to the Smart Dashboard.
   SendableChooser positionChooser;
@@ -27,6 +29,7 @@ public class Robot extends IterativeRobot {
     oi = new OI();
     shooter = new Shooter();
     scaler = new Scaler();
+    defenseArm = new DefenseArm();
 
     // 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