projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make code for pid fly wheel control
[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 ba0f51cefbf86e775efeb159feab757f2439eb78..f39f1ff2754e284dcc4f38124e7465131a913b13 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
@@
-7,6
+7,7
@@
import com.ctre.CANTalon;
import edu.wpi.first.wpilibj.command.Subsystem;
public class Shooter extends Subsystem {
import edu.wpi.first.wpilibj.command.Subsystem;
public class Shooter extends Subsystem {
+ public double wheelP = 0.005, wheelI = 0.001, wheelD = -0.003;
private static Shooter shooter;
private final CANTalon flyWheel, indexWheel;
private static Shooter shooter;
private final CANTalon flyWheel, indexWheel;
@@
-72,4
+73,8
@@
public class Shooter extends Subsystem {
protected void initDefaultCommand() {
}
protected void initDefaultCommand() {
}
+
+ public double getShooterSpeed() {
+ return 1.0;
+ }
}
}