projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shooter code review changes
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
shooter
/
RunIndexWheel.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
index 3f8baa0c3ffe2527e59701e9967115371685f979..d9966f1171494ace578ccc72ae081a5bbed46c10 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java
@@
-39,9
+39,8
@@
public class RunIndexWheel extends Command {
@Override
protected void execute() {
double shooterSpeed = shooter.getShooterRPM();
@Override
protected void execute() {
double shooterSpeed = shooter.getShooterRPM();
- if (shooterSpeed > 0) {
- shooter.setIndexWheelMotorVal(shooter.DEFAULT_INDEXING_SPEED);
- }
+ if (shooterSpeed > 0)
+ shooter.runIndexWheel();
}
// Called once after isFinished returns true
}
// Called once after isFinished returns true