Go to Post 4's company, 5's a crowd, and 6 is someone off-sides. - HyPhire111 [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 13-01-2009, 15:44
bobbyt14 bobbyt14 is offline
Registered User
FRC #0744
 
Join Date: Feb 2007
Location: Fort Lauderdale
Posts: 13
bobbyt14 is an unknown quantity at this point
Re: team colors and misguided cameras

Quote:
Originally Posted by kamocat View Post
How can you tell where the edge of the arena is? The white flooring ends.
Quote:
Originally Posted by kamocat View Post
So, in your aiming VIs, you can disregard targets that are further away than the edge of the floor.
You're talking about producing a lot of vision processing code if you're trying to account for the floor as well... just know that the floor isn't the only thing that appears white (people's t-shirts will appear white as well, so how does your camera know where the floor is? a toddler even has difficulty with that)

Quote:
Originally Posted by kamocat View Post
Obviously, people are a lot larger than the targets on the top of the trailer...
To the camera (or the robot) it's not so obvious... you might want to rethink your algorithm to account for the fact that perception of height from a single focal point depends on an apparent distance due to size on the image rather than the actual distance or height. (many people seated together with similarly colored t-shirts far away from the camera could look like a target).

Quote:
Originally Posted by kamocat View Post
but you can tell where they are by where they touch the floor (or if they don't, as the case may be).
I'm guessing that the floor will be out of the field of vision for most people's cameras (especially if you're near the target, looking up), so this is probably not a good choice for a reference.

This thread was intended more as a joke than anything else (I guess also as a warning to teams that may try to track a single color). I can almost guarantee that we'll have some rogue autonomous bots firing into the crowd at least once this competition. (and maybe at the judges, too, depending on what colors they're wearing)

who knows, maybe a camera will even track the screen above the field (which will sometimes display a target pulled behind a robot).

luckily, the point of this year's competition will not be shooting.
  #2   Spotlight this post!  
Unread 13-01-2009, 18:54
ChrisH's Avatar Unsung FIRST Hero
ChrisH ChrisH is offline
Generally Useless
FRC #0330 (Beach 'Bots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 1,230
ChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond repute
Re: team colors and misguided cameras

Quote:
Originally Posted by bobbyt14 View Post
(and maybe at the judges, too, depending on what colors they're wearing)

Judges wear fairly dark blue shirts. The refs wear striped shirts and the field crew get white t-shirts. All tend to wear dark pants. So they should all be safe. MC's are a different story, but their fashions should be running to bright yellow, electric blue, or vibrant red. All colors that should not be picked up by the camera. So while it is likely that balls will get shot at somebody, it probably won't be due to the cameras locking on to the wrong thing. Other programming or aiming errors are much more likely.
__________________
Christopher H Husmann, PE

"Who is John Galt?"
  #3   Spotlight this post!  
Unread 13-01-2009, 20:23
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: team colors and misguided cameras

We're going to do a quick sanity check before locking on to anything, which is basically something like

Is there a green and a pink area?
Does the orientation match the opposing alliance?
Are both areas the same size?

This should be pretty resilient,, unless there's a team wearing all pink sitting directly above a team wearing all green
__________________
Get yer robot source code here!
  #4   Spotlight this post!  
Unread 14-01-2009, 09:44
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: team colors and misguided cameras

A good safeguard would be to compute where you think the vision target is relative to your robot (since you know the height of the target, and can measure the pitch angle/y position in the frame of the camera). If your robot thinks that the vision target is more than 50 feet away, it's probably a safe bet that you are looking at something that is not the vision target.
  #5   Spotlight this post!  
Unread 14-01-2009, 10:00
hipsterjr's Avatar
hipsterjr hipsterjr is offline
Your bot can score but can it dance
AKA: CJ
FRC #4451 (The Burning Magnetos)
Team Role: College Student
 
Join Date: Dec 2006
Rookie Year: 2002
Location: summerville,SC
Posts: 587
hipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond repute
Send a message via AIM to hipsterjr
Re: team colors and misguided cameras

The cameras look for pick + green patterns. We were joking that team 233 and team Swamp-Thing on the same alliance would wreck havoc on the cameras tracking . But knowing these two powerhouses, the camera would be the least of your worries .
__________________
2010 Palmetto Chairmens Winner
2009 Peachtree Finalist Thanks 1319 & 590 "Sure your robot can score, but can it dance?!"
2008 Palmetto Regional Finalist Thanks 343 & 804
2008 Florida Regional Finalist Thanks 179 & 69
2007 Palmetto Regional winners Thanks 1319 & 832
2005 Palmetto Chairmens Winner
  #6   Spotlight this post!  
Unread 14-01-2009, 09:55
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: team colors and misguided cameras

Quote:
Originally Posted by ChrisH View Post
Judges wear fairly dark blue shirts. The refs wear striped shirts and the field crew get white t-shirts. All tend to wear dark pants. So they should all be safe. MC's are a different story, but their fashions should be running to bright yellow, electric blue, or vibrant red. All colors that should not be picked up by the camera. So while it is likely that balls will get shot at somebody, it probably won't be due to the cameras locking on to the wrong thing. Other programming or aiming errors are much more likely.
You call it an error. I call it a feature
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
Two cameras: Pros and Cons cooknl Programming 1 12-01-2006 20:57
TEAM COLORS AND SHIRT ( 2006) Freddy Schurr General Forum 28 04-10-2005 20:56
Custom Colors and Weights in Inventor ? sanddrag Inventor 3 26-02-2005 18:14
What color would go good with a Yellow and a Purple? (Think 2X and 5pt Ball colors) Elgin Clock Chit-Chat 17 06-10-2004 15:50
On board cameras and vision systems and robots! oh my! archiver 2000 1 23-06-2002 23:02


All times are GMT -5. The time now is 00:06.

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