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=8b9698e056936e87c02758447f5e9d81739c4bc1 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 c68cc62..d6db862 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -62,7 +62,11 @@ 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; + } public static class Intake {