1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
7 public class WinchRobotDownContinuous
extends Command
{
10 public WinchRobotDownContinuous(double speed
) {
11 winchDownSpeed
= speed
;
12 if (winchDownSpeed
> 1)
14 if (winchDownSpeed
< -1)
19 protected void initialize() {
20 Robot
.scaler
.runWinch(winchDownSpeed
);
24 protected void execute() {
28 protected boolean isFinished() {
33 protected void end() {
37 protected void interrupted() {