Commit | Line | Data |
---|---|---|
6bc8d8a0 SC |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.Robot; | |
4 | ||
5 | import edu.wpi.first.wpilibj.command.CommandGroup; | |
6 | ||
6bc8d8a0 SC |
7 | public class RetractDefenseArm extends CommandGroup { |
8 | ||
9 | public RetractDefenseArm(double speed, double retractPosition) { | |
10 | requires(Robot.defenseArm); | |
11 | ||
915269db | 12 | addParallel(new SetArmToAngle(speed, retractPosition)); |
9f9d3192 | 13 | addParallel(new SetHandToLevel(speed, retractPosition)); |
6bc8d8a0 SC |
14 | } |
15 | } |