Program for Auton (FMS)

Can someone please explain this to me. I understand that the colors for the switch/scale will be randomized? How would you program the robot to understand what the setup will be during autonomous.

The process of obtaining information regarding the Switch and Scale colors is documented here:
https://wpilib.screenstepslive.com/s/currentCS/m/getting_started/l/826278-2018-game-data-details

Thank you so much!

It’s important to note that this is relative to the scoring table. Not relative to you.

According to the WPIlib documentation:
“The data is referenced from the perspective of the Drive Team looking out from their Player Station. The data consists of three characters, each ‘L’ or ‘R’, representing the location (Left or Right) of the Alliance’s plate on each element, starting with the element closest to the Alliance.”

It appears I misread. Sorry about that!