Skip to content

[wpilib] Publish AllianceStationID#8856

Open
Gold856 wants to merge 1 commit into
wpilibsuite:mainfrom
Gold856:fix-fmsinfo-off-by-one
Open

[wpilib] Publish AllianceStationID#8856
Gold856 wants to merge 1 commit into
wpilibsuite:mainfrom
Gold856:fix-fmsinfo-off-by-one

Conversation

@Gold856
Copy link
Copy Markdown
Member

@Gold856 Gold856 commented May 5, 2026

Glass now internally uses the AllianceStationID enum, but the two separate topics remain for simple use cases. The Invalid alliance is now published as Red, Station 0, instead of 3.

Fixes #6488 and fixes #8725.

@Gold856 Gold856 requested a review from a team as a code owner May 5, 2026 23:32
@Gold856 Gold856 force-pushed the fix-fmsinfo-off-by-one branch 4 times, most recently from ff9bf3d to 3ddbf5a Compare May 6, 2026 23:14
@Gold856 Gold856 requested a review from a team as a code owner May 6, 2026 23:14
@Gold856 Gold856 changed the title Publish AllianceStationID instead of separate values [wpilib] Rename FMSInfo table to DriverStation and publish AllianceStationID May 6, 2026
@Gold856 Gold856 force-pushed the fix-fmsinfo-off-by-one branch 2 times, most recently from 143b4eb to 73c36c9 Compare May 6, 2026 23:29
@Gold856 Gold856 changed the title [wpilib] Rename FMSInfo table to DriverStation and publish AllianceStationID [wpilib] Publish AllianceStationID May 6, 2026
@Gold856 Gold856 force-pushed the fix-fmsinfo-off-by-one branch 2 times, most recently from 6284d99 to 31c3d4c Compare May 6, 2026 23:36
@Gold856 Gold856 force-pushed the fix-fmsinfo-off-by-one branch from 31c3d4c to ffcb98b Compare May 23, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: glass Glass app and backend component: wpilibc WPILib C++ component: wpilibj WPILib Java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[glass] Off-by-one discrepancy between FMS window and /FMSInfo window in simulation Fix Alliance logs to properly show invalid state.

1 participant