package org.usfirst.frc.team3501.robot.commands.intakearm;
-import org.usfirst.frc.team3501.robot.Constants;
+import org.usfirst.frc.team3501.robot.Constants.IntakeArm;
import org.usfirst.frc.team3501.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
@Override
protected void initialize() {
- if (direction == Constants.IntakeArm.IN)
+ if (direction == IntakeArm.IN)
Robot.intakeArm.intakeBall();
- else if (direction == Constants.IntakeArm.OUT)
+ else if (direction == IntakeArm.OUT)
Robot.intakeArm.outputBall();
else
Robot.intakeArm.stopRollers();