|
Team Color Identification
Hello all,
As far as I understand, we should receive an indicator of what team we're on from the competition port on the Driver's Station. Does anyone know how to access this in our programming code or if this is even possible? (we're using c++)
Thanks,
Sarah
Edit: I found it, but I will leave this posted as a refference for other teams. The Driver Station class contains an enumerated variable called "Alliance" with the values kRed, kBlue, and kInvalid.
__________________
Team Captain - More Robotics 1714
2009 Milwaukee - Chairman's Award
2008 Milwaukee - Chariman's Award
2007 Cleveland - Kliener Perkens Buyers Caufield Entrepenureship, Engineering Insparation
2007 Milwaukee - Kliener Perkens Buyers Caufield Entrepeneurship, Website, Motorola Quality Underwriters Laboratory Safety
2006 Atlanta - Rookie Inspiration
2006 Cleveland - Rookie All-Star, Safety Runner-up
2006 Milwaukee - Rookie All-Star, Safety Runner-up
pi = 3.141592653589793238462643383279502884197169399715 10 ^_^
Last edited by legotech25 : 31-01-2009 at 13:19.
|