summaryrefslogtreecommitdiff
path: root/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2017/HwRobot.java')
-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);