From db326f4032f30b906635ba072552887f522fac38 Mon Sep 17 00:00:00 2001 From: Cindy Zhang Date: Tue, 7 Feb 2017 21:10:30 -0800 Subject: [PATCH] change motorval to maxtimeout in drivedistance --- .../frc/team3501/robot/commands/driving/DriveDistance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/driving/DriveDistance.java b/src/org/usfirst/frc/team3501/robot/commands/driving/DriveDistance.java index b82e7d6..bdd5a69 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/driving/DriveDistance.java +++ b/src/org/usfirst/frc/team3501/robot/commands/driving/DriveDistance.java @@ -27,7 +27,7 @@ public class DriveDistance extends Command { private double driveD; private double gyroP; - public DriveDistance(double distance, double motorVal) { + public DriveDistance(double distance, double maxTimeOut) { requires(driveTrain); this.maxTimeOut = maxTimeOut; this.target = distance; -- 2.30.2