package org.usfirst.frc.team3501.robot.commands.shooter;
import org.usfirst.frc.team3501.robot.Robot;
+import org.usfirst.frc.team3501.robot.subsystems.Shooter;
import edu.wpi.first.wpilibj.command.Command;
public class ReverseIndexWheel extends Command {
private double time;
private double motorVal;
+ private Shooter shooter = Robot.getShooter();
/**
* See JavaDoc comment in class for details
@Override
protected void execute() {
- Robot.getShooter().setIndexWheelMotorVal(-motorVal);
+ shooter.runIndexWheelReverse();
}