import edu.wpi.first.wpilibj.command.Command;
/**
- * Runs the winch continuously at a given motor value
+ * This command will run the winch motor continuously until the button
+ * triggering it is released
*
* @author shivanighanta
*
@Override
protected boolean isFinished() {
- return false;
+ return !Robot.getOI().toggleWinch.get();
}
@Override