Alliance

class wpilib.Alliance(value: SupportsInt | SupportsIndex)

Bases: pybind11_object

The robot alliance that the robot is a part of.

Members:

RED : Red alliance.

BLUE : Blue alliance.

BLUE = <Alliance.BLUE: 1>
RED = <Alliance.RED: 0>
Alliance.name -> str
property value