Go to Post Weren't you ever told Canada is backwards from the US? - Alex Cormier [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the Trackball Color Match your team Color??? ZInventor Kit & Additional Hardware 14 07-03-2008 20:09
Team Identification on Robot 1337pcgamer Rules/Strategy 1 27-01-2006 17:59
Determining Team Color larwilliams Programming 4 30-03-2005 07:41
Team Color DrWorm Control System 1 02-02-2004 19:02
Team Color LED's Phil_Lutz Technical Discussion 4 18-01-2004 19:56


All times are GMT -5. The time now is 12:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi