From: Michael Wang Date: Sat, 4 Feb 2017 21:40:56 +0000 (-0800) Subject: SmartDashboard put D_Val X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=00218cb475a0e0c6101e7bc71b6b685d830493c9 SmartDashboard put D_Val --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index c919112..80f829b 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -83,7 +83,7 @@ public class Robot extends IterativeRobot { @Override public void autonomousPeriodic() { Scheduler.getInstance().run(); - DriveTrain.getDriveTrain().getDriveController().setConstants( + DriveTrain.getDriveTrain().getDriveController(); double driveP = SmartDashboard.getNumber(Constants.DriveTrain.DRIVE_D_Val, Constants.DriveTrain.PID_ERROR);