*
* post-condition: Winch motor set to a specified speed for a specified time.
*
+ * @param motorVal
+ * value range is from -1 to 1
+ * @param time
+ * in seconds
* @author shivanighanta
*
*/
@Override
protected boolean isFinished() {
- return false;
+ return !Robot.getOI().toggleWinch.get();
}
@Override
}
public void stop() {
- setMotorValues(0);
+ setMotorValue(0);
}
- public void setMotorValues(final double val) {
+ public void setMotorValue(final double val) {
}
}