package org.usfirst.frc.team3501.robot.commands.intake;
+import org.usfirst.frc.team3501.robot.Robot;
import org.usfirst.frc.team3501.robot.subsystems.Intake;
import edu.wpi.first.wpilibj.command.Command;
// speed to 0
public RunIntakeContinuous() {
-
+ requires(Robot.getIntake());
}
@Override
// Called repeatedly when this Command is scheduled to run
@Override
protected void execute() {
-
+ Robot.getIntake().setSpeed(Robot.getIntake().INTAKE_SPEED);
}
// Called once after isFinished returns true