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.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
index a72ae44..23d98b3 100644
--- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
+++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
@@ -80,9 +80,8 @@ public class HwRobot {
public DoubleSolenoid
shifter = new DoubleSolenoid(/*PCM*/4, /*PCM*/5),
ged = new DoubleSolenoid(/*PCM*/6, /*PCM*/7);
-
- private double maxRate = 0;
- private double minBatt = 20;
+
+ public final double axleWidth = 2.0; // in feet
public HwRobot() {
lDriveE.setDistancePerPulse(10.0/*feet*/ / 1865.75/*pulses*/);
@@ -96,6 +95,9 @@ public class HwRobot {
rRate = new RollingAvg(5, rDriveE);
}
+ private double maxRate = 0;
+ private double minBatt = 20;
+
public void run(Control c) {
lDriveM.pidWrite(c.lDrive);
rDriveM.pidWrite(-c.rDrive);