Added IDs

This commit is contained in:
ryan123rudder
2020-03-10 18:44:53 -06:00
parent c34c29af80
commit 8b554eb38d
2 changed files with 2 additions and 0 deletions
@@ -215,5 +215,6 @@ public final class Constants {
public static final class OIConstants {
public static final int XBOX_DRIVER_ID = 0;
public static final int XBOX_OPERATOR_ID = 1;
public static final int BUTTON_BOX_ID = 2;
}
}
@@ -88,6 +88,7 @@ public class RobotContainer {
/* Controllers */
private final XboxController m_driverXbox = new XboxController(OIConstants.XBOX_DRIVER_ID);
private final XboxController m_operatorXbox = new XboxController(OIConstants.XBOX_OPERATOR_ID);
private final XboxController m_buttonBox = new XboxController(OIConstants. BUTTON_BOX_ID);
/**