create and fill in setHandToAngle command and change variable name for setHandToAngle...
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / RetractDefenseArm.java
CommitLineData
00eb7775
SC
1package org.usfirst.frc.team3501.robot.commands;
2
3import org.usfirst.frc.team3501.robot.Robot;
4
5import edu.wpi.first.wpilibj.command.CommandGroup;
6
00eb7775
SC
7public class RetractDefenseArm extends CommandGroup {
8
9 public RetractDefenseArm(double speed, double retractPosition) {
10 requires(Robot.defenseArm);
11
0a946a81 12 addParallel(new SetArmToAngle(speed, retractPosition));
4141f2d5 13 addParallel(new SetHandToAngle(speed, retractPosition));
00eb7775
SC
14 }
15}