projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gyroP should get gyroController's p
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
utils
/
PIDController.java
diff --git
a/src/org/usfirst/frc/team3501/robot/utils/PIDController.java
b/src/org/usfirst/frc/team3501/robot/utils/PIDController.java
index c6ab0fb7b14d632bd987714b890525c025273221..073eee22382db5d391b445f3da768c653abe0d71 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/utils/PIDController.java
+++ b/
src/org/usfirst/frc/team3501/robot/utils/PIDController.java
@@
-169,4
+169,16
@@
public class PIDController {
return this.doneCycleCount >= this.minDoneCycleCount;
}
+
+ public double getP() {
+ return this.pConst;
+ }
+
+ public double getI() {
+ return this.iConst;
+ }
+
+ public double getD() {
+ return this.dConst;
+ }
}