89d52533b9c1aaeb057f647b43d646d3610e639a
[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 public class LiftRobot extends CommandGroup {
11
12 public LiftRobot() {
13 requires(Robot.scaler);
14
15 addSequential(new RunWinchContinuous(Constants.Scaler.WINCH_IN_SPEED, Constants.Scaler.WINCH_TIMEOUT));
16 addSequential(new StopWinch());
17 }
18 }