[hal,wpilib] Switch to new game data (#8584)

Game data is now limited to 8 bytes, and comes through the UDP packets.
This commit is contained in:
Thad House
2026-02-06 21:38:15 -08:00
committed by GitHub
parent ac45c694f3
commit 85adbf990e
45 changed files with 820 additions and 695 deletions

View File

@@ -519,7 +519,7 @@ class DriverStation final {
*
* @return A string containing the game specific message.
*/
static std::string GetGameSpecificMessage();
static std::optional<std::string> GetGameData();
/**
* Returns the name of the competition event provided by the FMS.

View File

@@ -419,7 +419,7 @@ class DriverStationSim {
*
* @param message the game specific message
*/
static void SetGameSpecificMessage(std::string_view message);
static void SetGameData(std::string_view message);
/**
* Sets the event name.