Closed drewwhis closed 4 years ago
Full details here: https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/2020-Game-Data.html
This line will get the game message. String gameData = DriverStation.getInstance().getGameSpecificMessage();
String gameData = DriverStation.getInstance().getGameSpecificMessage();
The message should be at least one letter long and will be one of: "B", "G", "R", or "Y".
The letters correspond to blue, green, red, and yellow, respectively.
This tells us the color the sensor should read when stage 2 is finished.
This can be played with at any point, really, but shouldn't be finalized until #13 and its follow-on tasks are finished.
Full details here: https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/2020-Game-Data.html
This line will get the game message.
String gameData = DriverStation.getInstance().getGameSpecificMessage();
The message should be at least one letter long and will be one of: "B", "G", "R", or "Y".
The letters correspond to blue, green, red, and yellow, respectively.
This tells us the color the sensor should read when stage 2 is finished.