Color Assignment

Hello, our team has a question.
The rulebook says that color will be relayed to the operator console, does anyone know how? Do we get to see the color assignment, or does everything have to be code? I’m aware you need to input code to get the color, but where does it actually show up on the driver station?

Thanks!

The color information will appear in the Game Data box on the driver station in the same place where you can test the game data at home. There is a picture linked here: https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/2020-Game-Data.html#testing-game-specific-data

That info can also be sent to the robot and driver station software like shuffleboard.

https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/2020-Game-Data.html

It works similarly in Labview and almost exactly the same in Python. It is the same way the control panel color is sent.

Awesome, just wanted to confirm we get to physically see the color assignment in the event we dont use a sensor to auto-spin to the color! Thank you so much!

Sure!

I should add that it is probably a bad idea to use this box. It is quite small and might be hard to read in the heat of competition.

3 Likes