|
Re: Code Declaration Window - Check Team in Code
There is a "GetAlliance" function on DriverStation, which returns an Alliance enum. I can't find it in the docs, but it is in the source for V1.2.1562. Its in DriverStation.cpp line 316, and DriverStation.h lines 23 and 46.
__________________
Eric Haskins KC9JVH
|