summaryrefslogtreecommitdiff
path: root/src/org/usfirst
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-24 08:12:32 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-24 08:12:32 -0400
commitc43d565a0505cc305a7009688efb70e3886079c6 (patch)
tree8cc41ee66c2e6657c5665e2e698ed8be10e5426e /src/org/usfirst
parent2c9e6242290513bc518475dc3ec8960cebc28d4f (diff)
swap the directions for things that got switched backward
Diffstat (limited to 'src/org/usfirst')
-rw-r--r--src/org/usfirst/frc/team4272/robot2017/HwRobot.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
index f30d495..c43d0c5 100644
--- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
+++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
@@ -99,11 +99,11 @@ 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(c.climber);
- shifter.set(c.highGear ? DoubleSolenoid.Value.kReverse : DoubleSolenoid.Value.kForward);
+ shifter.set(c.highGear ? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
ged.set(c.gedOut ? DoubleSolenoid.Value.kReverse : DoubleSolenoid.Value.kForward);
double rate = Math.abs((lDriveE.getRate()+rDriveE.getRate())/2);