projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
index 272085af28af6a352fa3f432dfb964829df0790e..83d934f3be7ce696a54b4c48f7f6b89f973cc468 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
@@
-1,7
+1,8
@@
package org.usfirst.frc.team3501.robot.commands.auton;
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.driving.TimeDrive;
+import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArm;
import edu.wpi.first.wpilibj.command.CommandGroup;
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() {
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));
}
}
}
}