From: EvanYap Date: Sun, 5 Feb 2017 00:28:40 +0000 (-0800) Subject: save in case my comp crashes X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=7b9e47969a6986a42694ed09ff51f71d32a7f815 save in case my comp crashes --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 44c513d..6f313c4 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -77,19 +77,11 @@ public class Robot extends IterativeRobot { driveTrain.getDriveController().setName("Drive"); driveTrain.getGyroController().setName("Gyro"); - driveTrain.getDriveController().setConstants(driveP, driveI, driveD); driveTrain.getGyroController().setConstants(gyroP, gyroI, gyroD); Scheduler.getInstance().add(new DriveDistance(Setpoint, Speed)); - - SmartDashboard.putNumber(Constants.DriveTrain.P_Val, 0); - SmartDashboard.putNumber(Constants.DriveTrain.I_Val, 0); - SmartDashboard.putNumber(Constants.DriveTrain.D_Val, 0); - SmartDashboard.putNumber(Constants.DriveTrain.TARGET_DIST, 50); - SmartDashboard.putNumber(Constants.DriveTrain.MOTOR_VAL, 0.5); - } @Override