projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Missed a <= addadded it
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
subsystems
/
Shooter.java
diff --git
a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
index ef27bf92157dc341fef9f188634a94be34d9ffb3..68c1d51ab1bb3550ac4b49b9547839ecf0e99c82 100755
(executable)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
@@
-40,7
+40,7
@@
public class Shooter extends Subsystem {
double newSpeed = getCurrentSetPoint() + change;
if (newSpeed > 1.0)
shooter.set(1.0);
- else if (newSpeed <
=
-1.0)
+ else if (newSpeed < -1.0)
shooter.set(-1.0);
else {
setSpeed(newSpeed);