Commit | Line | Data |
---|---|---|
6bb7f8ac | 1 | package org.usfirst.frc.team3501.robot.commands.auton; |
00b68bad | 2 | |
5cf99855 SC |
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; | |
00b68bad | 7 | |
5cf99855 | 8 | import edu.wpi.first.wpilibj.command.CommandGroup; |
00b68bad | 9 | |
fd8da47f SC |
10 | /*** |
11 | * This command group runs the winch to lift robot. | |
12 | * Requires Scaler | |
13 | * | |
14 | * @author shaina | |
15 | * | |
16 | */ | |
5cf99855 | 17 | public class LiftRobot extends CommandGroup { |
00b68bad | 18 | |
5cf99855 SC |
19 | public LiftRobot() { |
20 | requires(Robot.scaler); | |
00b68bad | 21 | |
eab4ce91 | 22 | addSequential(new RunWinchContinuous(Constants.Scaler.SCALE_SPEED, Constants.Scaler.SECONDS_TO_SCALE)); |
5cf99855 SC |
23 | addSequential(new StopWinch()); |
24 | } | |
00b68bad | 25 | } |