1 package org
.usfirst
.frc
.team3501
.robot
.commands
.climber
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
6 * Runs the winch at a given time and motor value
8 * @author shivanighanta
11 public class RunWinch
extends Command
{
13 private double motorVal
;
15 public RunWinch(double time
, double motorVal
) {
17 this.motorVal
= motorVal
;
21 protected void initialize() {
25 protected void execute() {
30 protected boolean isFinished() {
35 protected void end() {
40 protected void interrupted() {