summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/usfirst/frc/team4272/robot2016/HwRobot.java2
-rw-r--r--src/org/usfirst/frc/team4272/robot2016/Teleop.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
index 1fb47be..c0c6749 100644
--- a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
+++ b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
@@ -58,7 +58,7 @@ public class HwRobot {
public void run(Control c) {
lDriveM.pidWrite(c.lDrive);
- rDriveM.pidWrite(c.rDrive);
+ rDriveM.pidWrite(-c.rDrive);
climber.pidWrite(c.climber);
camRotate.pidWrite(c.camRotate);
camTilt.pidWrite(c.camTilt);
diff --git a/src/org/usfirst/frc/team4272/robot2016/Teleop.java b/src/org/usfirst/frc/team4272/robot2016/Teleop.java
index 05783e8..9675f65 100644
--- a/src/org/usfirst/frc/team4272/robot2016/Teleop.java
+++ b/src/org/usfirst/frc/team4272/robot2016/Teleop.java
@@ -36,7 +36,7 @@ public class Teleop {
public Control run(Control control, HwOI oi) {
/* Drive */
control.lDrive = -jsScale(oi.lStick);
- control.rDrive = jsScale(oi.rStick);
+ control.rDrive = -jsScale(oi.rStick);
if (oi.lStick.getTrigger()) {
control.highGear = false;