From: EvanYap Date: Sat, 4 Feb 2017 21:57:17 +0000 (-0800) Subject: Make constant for TARGET_DIST for editing setpoint in testing purposes of DriveDistan... X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=886f46760e86e1ab84137f7a7690b08ece051388 Make constant for TARGET_DIST for editing setpoint in testing purposes of DriveDistance cmd --- diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index 3ef7b9d..75b7c7e 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -70,6 +70,11 @@ public class Constants { public static final int PID_ERROR = -1; public static final int TARGET_DISTANCE_ERROR = -1; + public static final String P_Val = "P"; + public static final String I_Val = "I"; + public static final String D_Val = "D"; + public static final String TARGET_DIST = "SETPOINT"; + public static final SPI.Port GYRO_PORT = SPI.Port.kOnboardCS0; }