--- /dev/null
+package org.usfirst.frc.team3501.robot.commands.intakearm;
+
+import org.usfirst.frc.team3501.robot.Robot;
+
+import edu.wpi.first.wpilibj.command.CommandGroup;
+
+/***
+ * This command runs both intake arm motors at a given speed momentarily.
+ *
+ * @author harel, garima
+ *
+ */
+public class RunBothIntakeMotors extends CommandGroup {
+
+ /***
+ * @param motorSpeed
+ * Speed at which to run intake arm motors. Range is [-1,1]
+ */
+ public RunBothIntakeMotors(double motorSpeed) {
+ addParallel(new RunIntakeMotor(Robot.intakeArm.getLeftIntakeArmMotor(),
+ motorSpeed));
+ addParallel(new RunIntakeMotor(Robot.intakeArm.getRightIntakeArmMotor(),
+ motorSpeed));
+ }
+
+}