From: EvanYap Date: Sat, 4 Feb 2017 21:47:15 +0000 (-0800) Subject: hope fix X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=93698237a546a294e325da045f8c24d4a6c6cb79 hope fix --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 80f829b..41b7fef 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -83,7 +83,8 @@ public class Robot extends IterativeRobot { @Override public void autonomousPeriodic() { Scheduler.getInstance().run(); - DriveTrain.getDriveTrain().getDriveController(); + + DriveTrain.getDriveTrain().getDriveController().setConstants(p, i, d); double driveP = SmartDashboard.getNumber(Constants.DriveTrain.DRIVE_D_Val, Constants.DriveTrain.PID_ERROR);