Switch left and right side of robot, remove capability to switch front temporarily
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 272085af28af6a352fa3f432dfb964829df0790e..83d934f3be7ce696a54b4c48f7f6b89f973cc468 100644 (file)
@@ -1,7 +1,8 @@
 package org.usfirst.frc.team3501.robot.commands.auton;
 
-import org.usfirst.frc.team3501.robot.Constants.Auton;
+import org.usfirst.frc.team3501.robot.Constants.IntakeArm;
 import org.usfirst.frc.team3501.robot.commands.driving.TimeDrive;
+import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArm;
 
 import edu.wpi.first.wpilibj.command.CommandGroup;
 
@@ -11,6 +12,8 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class PassLowBar extends CommandGroup {
 
   public PassLowBar() {
-    addSequential(new TimeDrive(Auton.LOW_BAR_SPEED, Auton.LOW_BAR_TIME));
+    addSequential(new TimeDrive(.3, 1));
+    addSequential(new MoveIntakeArm(IntakeArm.EXTEND));
+    addSequential(new TimeDrive(.5, 3));
   }
 }