Live remote vs competition switch

We have been using the following code in our pre-auton function, to check whether the robot is in a competition, to decide if we should pop up an autonomous selection menu:
if (Competition.isCompetitionSwitch() || Competition.isFieldControl()) { ...

This is false when running a match connected to the Live Remote system. Is there some equivalent test to tell if we are in a Live Remote match?

It should work exactly the same, I’ll check tomorrow.
Make sure competition status is shown on the controller, with the current firmware you will lose that if you stop your program, we changed that for 1.0.13 which will release in the next few days.

4 Likes