projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added negative signs to fix reversed driving
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
driving
/
JoystickDrive.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java
b/src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java
index 8f8a4f25a3e767b9fcbbe2bdda5b93174723304c..579942f5796f67ec8c43910052a8c30c0eba1313 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java
@@
-23,7
+23,7
@@
public class JoystickDrive extends Command {
double thrust = Robot.oi.leftJoystick.getY();
double twist = Robot.oi.leftJoystick.getTwist();
- Robot.driveTrain.joystickDrive(
thrust,
twist);
+ Robot.driveTrain.joystickDrive(
-thrust, -
twist);
}
@Override