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=73e78662167b19479cbb9b5647b47ca222cc8d7c;hpb=02cb494ec9770b47215de2a84775b7885a44c495;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 73e78662..154c5c71 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -1,7 +1,9 @@ package org.usfirst.frc.team3501.robot; import org.usfirst.frc.team3501.robot.Constants.Defense; -import org.usfirst.frc.team3501.robot.Constants.DriveTrain; +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; @@ -15,11 +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() { @@ -27,8 +32,10 @@ public class Robot extends IterativeRobot { oi = new OI(); shooter = new Shooter(); scaler = new Scaler(); + 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 @@ -81,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