From c9a2ade437f8f470063ccd3b77eace62de88cdec 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 | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.30.2