package org.usfirst.frc.team3501.robot.commands.auton;
-import edu.wpi.first.wpilibj.command.Command;
+import org.usfirst.frc.team3501.robot.Constants;
+import org.usfirst.frc.team3501.robot.Robot;
+import org.usfirst.frc.team3501.robot.commands.scaler.RunWinchContinuous;
+import org.usfirst.frc.team3501.robot.commands.scaler.StopWinch;
-public class LiftRobot extends Command {
+import edu.wpi.first.wpilibj.command.CommandGroup;
- public LiftRobot() {
- }
+public class LiftRobot extends CommandGroup {
- @Override
- protected void initialize() {
- }
+ public LiftRobot() {
+ requires(Robot.scaler);
- @Override
- protected void execute() {
- }
-
- @Override
- protected boolean isFinished() {
- return false;
- }
-
- @Override
- protected void end() {
- }
-
- @Override
- protected void interrupted() {
- }
+ addSequential(new RunWinchContinuous(Constants.Scaler.WINCH_IN_SPEED, Constants.Scaler.WINCH_TIMEOUT));
+ addSequential(new StopWinch());
+ }
}