X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FRobot.java;h=154c5c715655b54e14261a88bc177271765d4211;hb=200caf634c87b7aec67dac297be8073a5acf54c8;hp=71685c51327524058ee33760c112549a40dde356;hpb=2947642e218a6fe0727d1102b7706f4d6840ab85;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 71685c51..154c5c71 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -3,6 +3,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.IntakeArm; import org.usfirst.frc.team3501.robot.subsystems.Scaler; import org.usfirst.frc.team3501.robot.subsystems.Shooter; @@ -16,12 +17,14 @@ public class Robot extends IterativeRobot { public static DriveTrain driveTrain; public static Shooter shooter; public static Scaler scaler; + public static IntakeArm intakeArm; public static DefenseArm defenseArm; // Sendable Choosers send a drop down menu to the Smart Dashboard. SendableChooser positionChooser; SendableChooser positionOneDefense, positionTwoDefense, positionThreeDefense, - positionFourDefense, positionFiveDefense; + positionFourDefense, + positionFiveDefense; @Override public void robotInit() { @@ -29,9 +32,10 @@ public class Robot extends IterativeRobot { oi = new OI(); shooter = new Shooter(); scaler = new Scaler(); - defenseArm = new DefenseArm(); + intakeArm = new IntakeArm(); - // Sendable Choosers allows the driver to select the position of the robot + // 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 @@ -84,10 +88,10 @@ public class Robot extends IterativeRobot { SmartDashboard.putData("Position Two Defense Chooser", positionTwoDefense); SmartDashboard.putData("Position Three Defense Chooser", positionThreeDefense); - SmartDashboard.putData("Position Four Defense Chooser", - positionFourDefense); - SmartDashboard.putData("Position Five Defense Chooser", - positionFiveDefense); + SmartDashboard + .putData("Position Four Defense Chooser", positionFourDefense); + SmartDashboard + .putData("Position Five Defense Chooser", positionFiveDefense); } @Override