[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

@@ -301,9 +301,9 @@ void DriverStationSim::SetJoystickName(int stick, std::string_view name) {
HALSIM_SetJoystickName(stick, &str);
}
void DriverStationSim::SetGameSpecificMessage(std::string_view message) {
void DriverStationSim::SetGameData(std::string_view message) {
auto str = wpi::util::make_string(message);
HALSIM_SetGameSpecificMessage(&str);
HALSIM_SetGameDataString(&str);
}
void DriverStationSim::SetEventName(std::string_view name) {