Change to more descriptive names
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / LiftRobot.java
1 package org.usfirst.frc.team3501.robot.commands.auton;
2
3 import org.usfirst.frc.team3501.robot.Constants;
4 import org.usfirst.frc.team3501.robot.Robot;
5 import org.usfirst.frc.team3501.robot.commands.scaler.RunWinchContinuous;
6 import org.usfirst.frc.team3501.robot.commands.scaler.StopWinch;
7
8 import edu.wpi.first.wpilibj.command.CommandGroup;
9
10 /***
11 * This command group runs the winch to lift robot.
12 * Requires Scaler
13 *
14 * @author shaina
15 *
16 */
17 public class LiftRobot extends CommandGroup {
18
19 public LiftRobot() {
20 requires(Robot.scaler);
21
22 addSequential(new RunWinchContinuous(Constants.Scaler.SCALE_SPEED, Constants.Scaler.SECONDS_TO_SCALE));
23 addSequential(new StopWinch());
24 }
25 }