From: EvanYap Date: Sat, 4 Feb 2017 22:42:30 +0000 (-0800) Subject: create constants for error default gettings from the smartdashboard X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=c9a2ade437f8f470063ccd3b77eace62de88cdec create constants for error default gettings from the smartdashboard --- diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index 57a54ad..1e281e8 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -75,6 +75,9 @@ public class Constants { public static final String D_Val = "D"; public static final String TARGET_DIST = "SETPOINT"; public static final String MOTOR_VAL = "SPEED"; + public static final int PID_ERROR = -1; + public static final int TARGET_DISTANCE = -1; + public static final SPI.Port GYRO_PORT = SPI.Port.kOnboardCS0; }