Go to Post You know what they call the graduate with the lowest GPA in med school? Doctor. You know what they call the fourth robot in the alliance that wins Einstein? Champion. - Billfred [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 15-02-2007, 14:01
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Camera tracking other lights

The camera always successfully tracks the green light which is on a fully charged battery. However, we have sunroofs on the top of our gym and the camera detects the light from there also when the sun is right above. I have tried changing the saturation levels but that doesn't help. It seems like the light from the sunroof has more green in it than the green light itself. Any ideas?
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #2   Spotlight this post!  
Unread 15-02-2007, 15:00
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,113
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: Camera tracking other lights

Sunlight is powerful stuff, and you probably can't overcome the issue with programming. About the only thing I can suggest is a sun visor or a green filter on the lens to keep the camera from being overwhelmed by the broad-spectrum light from overhead.
  #3   Spotlight this post!  
Unread 15-02-2007, 15:15
petek's Avatar
petek petek is offline
What would Dave do?
AKA: Peter Kieselbach
FRC #3654 (Tech Tigers)
Team Role: Mentor
 
Join Date: May 2002
Rookie Year: 2002
Location: Middletown, CT
Posts: 923
petek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond reputepetek has a reputation beyond repute
Send a message via AIM to petek
Re: Camera tracking other lights

Do the skylights show up when you look at the Tracking Frame with the LabView GUI? If so, is it possible to limit the camera's field of view (with a mask or tilt limit) so it doesn't see them?

Things I've seen happen with bright interfering light sources are:
- If the interfering light is very bright and near the line of sight between the camera and the target light, or it reflects off the face of the target light, it can swamp the target out, even if it doesn't contain the target color.
- If the interfering light is broad-spectrum white light (which sunlight is), it will contain the green we're looking for and, if it is bright enough, the camera may see it as a valid target. It has to be really bright, though.

I've got a camera looking out the window at bright sunny (& snow covered) scene right now. Using the 2006 Target.cfg config, with the Noise Filter set to 1, it isn't picking up anything at all. However, if I set the Noise Filter to 0, the camera picks up the light off reflective surfaces, like a shiny car parked outside. Reducing the Saturation Control to 120 (from 128) eliminated them.
__________________
Pete Kieselbach
#4

  #4   Spotlight this post!  
Unread 15-02-2007, 15:29
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Camera tracking other lights

Quote:
Originally Posted by petek View Post
Do the skylights show up when you look at the Tracking Frame with the LabView GUI? If so, is it possible to limit the camera's field of view (with a mask or tilt limit) so it doesn't see them?

Things I've seen happen with bright interfering light sources are:
- If the interfering light is very bright and near the line of sight between the camera and the target light, or it reflects off the face of the target light, it can swamp the target out, even if it doesn't contain the target color.
- If the interfering light is broad-spectrum white light (which sunlight is), it will contain the green we're looking for and, if it is bright enough, the camera may see it as a valid target. It has to be really bright, though.

I've got a camera looking out the window at bright sunny (& snow covered) scene right now. Using the 2006 Target.cfg config, with the Noise Filter set to 1, it isn't picking up anything at all. However, if I set the Noise Filter to 0, the camera picks up the light off reflective surfaces, like a shiny car parked outside. Reducing the Saturation Control to 120 (from 128) eliminated them.
I think our best bet is to get up over the roof and cover those openings. The light is right above our rack so there really is no way to block it out. We played with the camera settings quite a bit and nothing really helped. I thought about a visor or filter, but I am not sure how to fix it on the camera. It might be more trouble than just letting the camera see the light for a couple hours. Thanks for the suggestions.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #5   Spotlight this post!  
Unread 15-02-2007, 17:22
whlspacedude's Avatar
whlspacedude whlspacedude is offline
Registered User
AKA: Will
FRC #1529 (Cyber Cards)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Indianapolis,Indiana 46227
Posts: 167
whlspacedude is just really nicewhlspacedude is just really nicewhlspacedude is just really nicewhlspacedude is just really nice
Send a message via AIM to whlspacedude Send a message via MSN to whlspacedude Send a message via Yahoo to whlspacedude
Re: Camera tracking other lights

We are having that problem with regular lights the camera tracks all of the lights within its viewing area including the green lights
__________________
Some people are like slinkies they are only good for 1 thing... pushing them down flights of stairs

1529 mph = 4 109 952 furlongs per fortnight
  #6   Spotlight this post!  
Unread 15-02-2007, 18:03
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Camera tracking other lights

Quote:
Originally Posted by whlspacedude View Post
We are having that problem with regular lights the camera tracks all of the lights within its viewing area including the green lights
If its just the lights in a shop, then you can adjust the saturation and noise filter and most likely it will be fixed. Look at petek's post.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #7   Spotlight this post!  
Unread 15-02-2007, 22:21
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Camera tracking other lights

Are there any severe performance side effects with with a noise filter of 1 or 2? If no, why does the camera code change them from the default of 2 and set them to 0?

Thanks in advance,
Robinson
  #8   Spotlight this post!  
Unread 19-02-2007, 13:30
Teammax's Avatar
Teammax Teammax is offline
30 Members 6 Weeks 1 Dream
AKA: Rob Cormier
FRC #1071 (Team MAX)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Wolcott, Connecticut
Posts: 165
Teammax is just really niceTeammax is just really niceTeammax is just really niceTeammax is just really nice
Re: Camera tracking other lights

I think we are having the same type of problem. When we use our camera at our school it works great and we can score in autonomous. When we went to the Winter War Zone Scrimmage we had many tracking issues.

How do we know what our noise filter is set to and could someone tell where to look in the code to change it. Please.
  #9   Spotlight this post!  
Unread 19-02-2007, 13:40
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,113
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: Camera tracking other lights

Quote:
Originally Posted by Teammax View Post
How do we know what our noise filter is set to and could someone tell where to look in the code to change it. Please.
If you're using the "Bells & Whistles" camera code, you can change it from the built-in menu facility by connecting a terminal to the robot's program port and typing "c" to access the camera menu.

The IFI Loader program contains a built-in terminal program which activates automatically after downloading a program to the robot. You can also activate it manually from the Option menu.
  #10   Spotlight this post!  
Unread 19-02-2007, 13:54
Teammax's Avatar
Teammax Teammax is offline
30 Members 6 Weeks 1 Dream
AKA: Rob Cormier
FRC #1071 (Team MAX)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Wolcott, Connecticut
Posts: 165
Teammax is just really niceTeammax is just really niceTeammax is just really niceTeammax is just really nice
Re: Camera tracking other lights

Thanks I think I have found it
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
camera tracking geekofband007 Programming 15 15-02-2007 23:50
Camera tracking between two lights Ankush Dhar Programming 2 12-02-2007 23:44
Tracking two lights Render Programming 5 29-01-2007 18:14
Camera finds overhead lights not green light theycallhimtom Programming 4 20-01-2007 17:37
No lights on camera Bob22341 Programming 4 08-02-2006 13:27


All times are GMT -5. The time now is 04:53.

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