From 8b9698e056936e87c02758447f5e9d81739c4bc1 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 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 { -- 2.30.2