More competition updates, intake speed and joystick scaling
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / intakearm / StopIntake.java
CommitLineData
571a0e2a
HD
1package org.usfirst.frc.team3501.robot.commands.intakearm;
2
3import org.usfirst.frc.team3501.robot.Robot;
4
5import edu.wpi.first.wpilibj.command.Command;
6
7/***
8 * This command will take a boulder into the robot if there is not a boulder
9 * present inside already.
10 *
11 * pre-condition: Intake arm must be at correct height and a boulder is not
12 * present inside the robot.
13 *
14 * post-condition: A boulder is taken in from the field outside of the robot
15 * into the robot.
16 *
17 * @author Lauren and Niyati
18 *
19 */
20
21public class StopIntake extends Command {
22
23 public StopIntake() {
24 requires(Robot.intakeArm);
25 }
26
27 @Override
28 protected void initialize() {
29 Robot.intakeArm.stopRollers();
30 }
31
32 @Override
33 protected void execute() {
34 }
35
36 @Override
37 protected boolean isFinished() {
38 return true;
39 }
40
41 @Override
42 protected void end() {
43 }
44
45 @Override
46 protected void interrupted() {
47 }
48
49}