summaryrefslogtreecommitdiff
path: root/src/org/usfirst
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/usfirst')
-rw-r--r--src/org/usfirst/frc/team4272/robot2017/HwRobot.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
index 2ef5dae..ac7d584 100644
--- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
+++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
@@ -96,8 +96,8 @@ public class HwRobot {
private double maxRate = 0;
private double minBatt = 20;
public void run(Control c) {
- lDriveM.pidWrite(-c.lDrive);
- rDriveM.pidWrite(c.rDrive);
+ lDriveM.pidWrite(c.lDrive);
+ rDriveM.pidWrite(-c.rDrive);
climber.pidWrite(Math.abs(c.climber));
shifter.set(c.highGear ? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);