projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add default speed for shooter in constants, and apply in runShooter command
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
shooter
/
runShooter.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/shooter/runShooter.java
b/src/org/usfirst/frc/team3501/robot/commands/shooter/runShooter.java
index 4315ae1932da88e38dbf6cab3fdf09705e9da09c..c7b0cf2fca40fd7e83c0b887c83b5e854a887080 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/shooter/runShooter.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/shooter/runShooter.java
@@
-1,5
+1,6
@@
package org.usfirst.frc.team3501.robot.commands.shooter;
package org.usfirst.frc.team3501.robot.commands.shooter;
+import org.usfirst.frc.team3501.robot.Constants;
import org.usfirst.frc.team3501.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team3501.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
@@
-15,7
+16,7
@@
public class runShooter extends Command {
@Override
protected void initialize() {
@Override
protected void initialize() {
- Robot.shooter.setSpeed(
0.5
);
+ Robot.shooter.setSpeed(
Constants.Shooter.DEFAULT_SHOOTER_SPEED
);
}
@Override
}
@Override