4dcd209e09f7f152359304413939f187f6948941
1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
8 * This command group simultaneously move arm and hand to retracted position.
13 public class RetractDefenseArm
extends CommandGroup
{
15 public RetractDefenseArm(double speed
, double retractPosition
) {
16 requires(Robot
.defenseArm
);
18 addParallel(new SetArmToAngle(speed
, retractPosition
));
19 addParallel(new SetHandToAngle(speed
, retractPosition
));