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.Robot;
/** move the mast */
public class ToggleCommandHook extends Command {
public ToggleCommandHook() {
requires(Robot.SUB_HOOK);
}
protected void initialize() {
Robot.SUB_HOOK.raiseHook();
protected void execute() {}
protected boolean isFinished() { return false; }
protected void end() {
Robot.SUB_HOOK.lowerHook();
protected void interrupted() {
end();