projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change some names
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
driving
/
TurnForAngle.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/driving/TurnForAngle.java
b/src/org/usfirst/frc/team3501/robot/commands/driving/TurnForAngle.java
index f9f5c7f0e285676a21b0548baa6d3a80df75879c..867f5eddf4d5865601fe068cec7739edde4c3732 100755
(executable)
--- a/
src/org/usfirst/frc/team3501/robot/commands/driving/TurnForAngle.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/driving/TurnForAngle.java
@@
-37,9
+37,9
@@
public class TurnForAngle extends Command {
this.target = Math.abs(angle);
this.zeroAngle = driveTrain.getAngle();
this.target = Math.abs(angle);
this.zeroAngle = driveTrain.getAngle();
- this.gyroP = driveTrain.
defaultGyro
P;
- this.gyroI = driveTrain.
defaultGyro
I;
- this.gyroD = driveTrain.
defaultGyro
D;
+ this.gyroP = driveTrain.
turn
P;
+ this.gyroI = driveTrain.
turn
I;
+ this.gyroD = driveTrain.
turn
D;
this.gyroController = new PIDController(this.gyroP, this.gyroI, this.gyroD);
this.gyroController.setDoneRange(1);
this.gyroController = new PIDController(this.gyroP, this.gyroI, this.gyroD);
this.gyroController.setDoneRange(1);