From 9818e078a9df6acb3d41b2991ff6f55461b358ae Mon Sep 17 00:00:00 2001 From: EvanYap Date: Sat, 4 Feb 2017 14:42:30 -0800 Subject: [PATCH] create constants for error default gettings from the smartdashboard --- src/org/usfirst/frc/team3501/robot/Constants.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index 2c94ba6..1e281e8 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -75,7 +75,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 { -- 2.30.2