for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package org.usfirst.frc.team3695.robot.commands;
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team3695.robot.OI;
import org.usfirst.frc.team3695.robot.Robot;
import org.usfirst.frc.team3695.robot.util.Util;
/** move the mast */
public class ManualCommandGrow extends Command {
public ManualCommandGrow() {
requires(Robot.SUB_MAST);
}
protected void initialize() {}
protected void execute() {
Robot.SUB_MAST.moveBySpeed(OI.OPERATOR, Util.getAndSetDouble("Screw Inhibitor", 1));
protected boolean isFinished() {
return false;
protected void end() {}
protected void interrupted() {}