projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I wrote code for incrreasing and decreasing shooting speed and added necessary consta...
[3501/2017steamworks]
/
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 06073a791795c2be6c7aeccb781042bbba045fce..73c1b23282356686b7475b9ba8b21692c0753504 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
@@
-10,9
+10,15
@@
public class Shooter extends Subsystem {
private static Shooter shooter;
private final CANTalon flyWheel, indexWheel;
private static Shooter shooter;
private final CANTalon flyWheel, indexWheel;
+ public static final double DEFAULT_SHOOTING_SPEED = 0;
+ public static double CURRENT_SHOOTING_SPEED;
+
+ public static final double SHOOTING_SPEED_INCREMENT = 0;
+
private Shooter() {
flyWheel = new CANTalon(Constants.Shooter.FLY_WHEEL);
indexWheel = new CANTalon(Constants.Shooter.INDEX_WHEEL);
private Shooter() {
flyWheel = new CANTalon(Constants.Shooter.FLY_WHEEL);
indexWheel = new CANTalon(Constants.Shooter.INDEX_WHEEL);
+
}
/**
}
/**