Skip to content

[glass] Off-by-one discrepancy between FMS window and /FMSInfo window in simulation #8725

@chauser

Description

@chauser

When running Simulation we see that the FMS and /FMSInfo windows report different values for Alliance Station. The /FMSInfo's value is one less in the enumeration than what is in the FMS window.

To Reproduce
Steps to reproduce the behavior:

  1. Start Simulation
  2. On the Network Tables menu enable FMSInfo
  3. On the Robot State selector window choose Disconnected
  4. On the FMS window choose Red 2
  5. On the Robot State selector window choose Disabled
  6. Observe Alliance Station on FMS window is Red 2, but /FMSInfo says Alliance Station is Red 1

Expected behavior
The values in both windows are the same

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Project Information:
  • WPILib Information:
    Project Version: 2026.2.1
    VS Code Version: 1.105.1
    WPILib Extension Version: 2026.2.1
    Project Year: 2026
    Language: java
    C++ Extension Version: 1.28.3
    Java Extension Version: 1.38.0
    Java Debug Extension Version: 0.58.2
    Java Dependencies Extension Version 0.24.1
    Java Version: 17
    Java Location: C:\Users\Public\wpilib\2026\jdk
    Vendor Libraries:
    PathplannerLib (2026.1.2)
    CTRE-Phoenix (v5) (5.36.0)
    CTRE-Phoenix (v6) (26.1.2)
    photonlib (v2026.3.2)
    ReduxLib (2026.1.1)
    REVLib (2026.0.5)
    Studica (2026.0.0)
    StudicaLib (2026.0.1)
    ThriftyLib (2026.1.1)
    WPILib-New-Commands (1.0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions