Adding a mechanism for a 'shift display' in Elastic

This commit is contained in:
2026-01-22 16:03:46 -05:00
parent e531c8e191
commit c2cb06748c
5 changed files with 476 additions and 25 deletions

View File

@@ -1,5 +1,7 @@
package frc.robot.constants;
import edu.wpi.first.wpilibj.util.Color;
public class OIConstants {
public static final int kDriverControllerPort = 0;
public static final int kOperatorControllerPort = 1;
@@ -7,4 +9,21 @@ public class OIConstants {
public static final double kDriveDeadband = .01;
public static final double kJoystickExponential = 3;
public static final String kTeleopTab = "Teleoperated";
public static final String kCurrentActiveHub = "Alliance Hub Currently Active";
public static final String[] kRedBlueDisplay = {
Color.kRed.toHexString(),
Color.kBlue.toHexString()
};
public static final String[] kRedDisplay = {
Color.kRed.toHexString()
};
public static final String[] kBlueDisplay = {
Color.kBlue.toHexString()
};
}