Go to Post I would suggest spending a few more hours digesting the manual before you finalize your designs. You seem to have missed a few key rules. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2007, 21:43
tfisher04 tfisher04 is offline
Registered User
AKA: Tom Fisher
FRC #0422 (Mech Techs)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Richmond, VA
Posts: 18
tfisher04 has a spectacular aura abouttfisher04 has a spectacular aura about
Alliance Color

Our team was considering putting some lights on the robot that would change to the alliance color. Does anyone know of a variable or any section of the code that we could access to automatically determine which light set to power? Possibly referencing the LED output?
  #2   Spotlight this post!  
Unread 04-02-2007, 21:45
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Alliance Color

AFAIK there is no way to tell in code what team you are on.

However, you can add a switch to the robot with a "red" and "blue" setting and just have your drive team manually flip it before matches.
  #3   Spotlight this post!  
Unread 04-02-2007, 22:51
tfisher04 tfisher04 is offline
Registered User
AKA: Tom Fisher
FRC #0422 (Mech Techs)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Richmond, VA
Posts: 18
tfisher04 has a spectacular aura abouttfisher04 has a spectacular aura about
Re: Alliance Color

That's what I was afraid of, that it was hidden somewhere in the Master Code, and we wouldn't be able to access it.
  #4   Spotlight this post!  
Unread 05-02-2007, 09:19
MattLi's Avatar
MattLi MattLi is offline
Scrawny Asian Kid
FRC #0245 (Adambots)
Team Role: Leadership
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Rochester Hills, MI
Posts: 111
MattLi has a spectacular aura aboutMattLi has a spectacular aura about
Re: Alliance Color

Would it be legal. I know that the CMU cams can read green but would the other color lights mess with the camera?
__________________
Per Ardua ad Astra-Through adversity to the stars.
~Royal Air Force
  #5   Spotlight this post!  
Unread 05-02-2007, 09:23
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Alliance Color

Quote:
Originally Posted by MattLi View Post
Would it be legal. I know that the CMU cams can read green but would the other color lights mess with the camera?
I'm not exactly sure what you are asking, but I know that the Allen-Bradley lights aren't in the color threshold in Kevin Watson's default camera code, so they shouldn't interfere. As far as "Would it be legal", I hope you don't mean "Would it be legal to use other lights to toy with the other alliance's CMUcam?" That's clearly illegal per rule <R33>:

Quote:
<R33> No devices or decorations are permitted on the ROBOT that are intended to jam or interfere with the operation of the vision system (i.e. changing ROBOT color to confuse opponent’s vision system).
JBot
__________________
Aren't signatures a bit outdated?
  #6   Spotlight this post!  
Unread 05-02-2007, 09:30
haroony341's Avatar
haroony341 haroony341 is offline
Registered User
FRC #0341 (Wissahickon HS & NMTCC) FRC#2234 (The Episcopal Academy)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2001
Location: Lower Gwynedd, Pa
Posts: 70
haroony341 is an unknown quantity at this point
Send a message via AIM to haroony341
Re: Alliance Color

are there any lights provided in the kit to show your team color? i havent seen anything so far. or do we have to get them ourselves?
__________________
Drexel University Class of 2009 -- Computer Engineering

Team 341 Miss Daisy // Wissahickon High School @ NMTCC
http://www.team341.com

Team 2234 // The Episcopal Academy http://www.ea1785.org/robotics
  #7   Spotlight this post!  
Unread 05-02-2007, 09:44
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: Alliance Color

i'm not sure if it's legal, but AFAIK there are two sets of team color pins.
You could make some custom circuity that hooks up to the second set of pins.
  #8   Spotlight this post!  
Unread 05-02-2007, 10:22
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Alliance Color

Quote:
Originally Posted by haroony341 View Post
are there any lights provided in the kit to show your team color? i havent seen anything so far. or do we have to get them ourselves?
Alliance color will not be indicated by lights this year.
Quote:
<R15> ROBOTS must use one of the two FLAGS provided at the event queuing location to display their ALLIANCE color (red or blue). The FLAG must be held in a flag holder mounted on the ROBOT...
  #9   Spotlight this post!  
Unread 05-02-2007, 22:50
tfisher04 tfisher04 is offline
Registered User
AKA: Tom Fisher
FRC #0422 (Mech Techs)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Richmond, VA
Posts: 18
tfisher04 has a spectacular aura abouttfisher04 has a spectacular aura about
Re: Alliance Color

Well, what I was thinking on was that last year, our team had brake lights for fun on the electronics board which was right on the back of the robot. Depending on our color the next match, we would switch out the color filter in order to avoid confusion (even though brakes are usually red). We didn't have any problems last year with the rules. (On the attached picture you can see the lights on the top corners.)

I was just thinking of making this process of switching colors a little more automated this year, but it's probably best to go back to a more manual solution anyways.
Attached Thumbnails
Click image for larger version

Name:	VCU Regional 2006 - 55.jpg
Views:	42
Size:	93.9 KB
ID:	5017  
  #10   Spotlight this post!  
Unread 05-02-2007, 23:19
Pavan Dave's Avatar
Pavan Dave Pavan Dave is offline
Busy in College
AKA: I am John Gault.
FRC #1745 (P-51 Mustangs) FRC #118 (Robonauts)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Richardson, Texas
Posts: 1,387
Pavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond repute
Send a message via AIM to Pavan Dave
Re: Alliance Color

better yet, I thought something cool to integrate to our bot would be these lights from previous years here and they could tell alliance color and they would be a cool little decoration because then you'd know exactly where your bot is because they are pretty bright.

Pavan.
__________________
Times change. People change. Teams change.
---
2008-Present: FRC1745, P51-Mustangs - Mentor
2005-2008: FRC118, Robonauts - Alumni
National Director of Philanthropy - Delta Epsilon Psi Fraternity, Inc.
1745 - 118 - ΔΕΨ
  #11   Spotlight this post!  
Unread 06-02-2007, 00:03
kitscuzz's Avatar
kitscuzz kitscuzz is offline
Not alotta posts
AKA: Kit
FRC #1389 (Worst Case Scenario)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Home
Posts: 47
kitscuzz will become famous soon enough
Re: Alliance Color

You might look into taking the team color lights from your previos year's robot. I don't know if the TEAM COLOR outlets on the board will be activated though. You could probably check into what exactly those outlets give you and wire them to your analog inputs, but I have no idea about A) the legality, B) the funtionality, or C) How you would go about testing it without the official field.
Closed Thread


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
Best Alliance in the Alliance Era of FIRST Corey Balint General Forum 28 05-09-2006 20:14
Color Values WesleyBalmer Programming 3 15-01-2005 22:26
Color? neilcooper Technical Discussion 2 11-01-2005 16:58
Team Color DrWorm Control System 1 02-02-2004 19:02
Link color Jack Website Design/Showcase 4 19-11-2002 16:31


All times are GMT -5. The time now is 22:59.

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