View Single Post
  #1   Spotlight this post!  
Unread 31-01-2009, 13:12
legotech25's Avatar
legotech25 legotech25 is offline
Sarah
AKA: Sarah
FRC #1714 (TMCRC)
Team Role: Leadership
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Wisconsin
Posts: 56
legotech25 will become famous soon enoughlegotech25 will become famous soon enough
Send a message via AIM to legotech25 Send a message via Yahoo to legotech25
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.
Reply With Quote