Skip to content

Set To Alliance Color Command

A command that sets the LED colors to match the current alliance color (red or blue) selected in the Driver Station. This provides a clear visual indicator of which alliance the robot is assigned to.

Required Subsystems

Constructor Parameters

public SetToAllianceColor(BlingSubsystem blingSubsystem)
- blingSubsystem: The bling subsystem instance to control

Configuration Requirements

None - uses predefined RED_ALLIANCE_COLOR and BLUE_ALLIANCE_COLOR from BlingConstants

Reference Documentation

Set To Alliance Color Command Javadoc