From: Shaina Chen Date: Wed, 10 Feb 2016 03:01:04 +0000 (-0800) Subject: create defenseArm variable in robot.java X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=2947642e218a6fe0727d1102b7706f4d6840ab85 create defenseArm variable in robot.java --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 051aac62..71685c51 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -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