Go to Post As a programmer, I am trying to use more 0's than 1's to save weight. - Jared Russell [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 19-01-2006, 20:54
Crtcalmss Crtcalmss is offline
Team Mentor
FRC #0350 (Timberlane Owls Robotics Club (TechnOtus))
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 1999
Location: Plaistow, NH
Posts: 13
Crtcalmss will become famous soon enough
Fixing Camera "overload"

Our team had been having problems with the color registration for the camera. Whenever we got closer to the illuminated target, the color "washed" out on the camera display and the computer couldn't recognize the color green. In addition, we were having significant problems with the camera trying to track the room's fluorescent lights and the light coming in from the windows. A previous thread suggested a UV filter since this kind of camera was sensitive to UV. Our team killed two birds with one stone... We went to Wal-Mart, bought the cheapest pair of dark (grey) sunglasses we could find, removed the lens, and mounted it in front of the camera's lens. We now have a camera that no longer responds to UV, has a nice, dark, background, even in full light, and sees the illuminated target as a nice, rich green color that is easy to track. Some tweaking of the camera controls through the software was needed, but its now working great and it tracks very well and re-acquires quickly when signal is lost.

The sunglasses were in the jewelry department and cost a whopping $3.95. They were a pair of "kids" sunglasses with 100% UV protection.

Hope that helps someone...
  #2   Spotlight this post!  
Unread 20-01-2006, 10:44
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Fixing Camera "overload"

If you go through the calibration routine in the camera handbook, you wouldn't have had to do this
  #3   Spotlight this post!  
Unread 20-01-2006, 11:07
Crtcalmss Crtcalmss is offline
Team Mentor
FRC #0350 (Timberlane Owls Robotics Club (TechnOtus))
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 1999
Location: Plaistow, NH
Posts: 13
Crtcalmss will become famous soon enough
Re: Fixing Camera "overload"

The way our team operates, we often leave a lot of the work up to the students... They become the "experts" on their particular system of the robot. According to the programmer, who is in charge of the camera/robot interface, he had already completed this step and was still having significant problems. I will show him your post and remind him to double check!

Thank you very much!

Steve Rugoletti
team 350
Plaistow, NH
  #4   Spotlight this post!  
Unread 20-01-2006, 11:40
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Fixing Camera "overload"

http://kevin.org/frc/CMUcam2_workbook.pdf
Page 23 begins something like "If the target is white, or mostly white with bits of color around the edge"
  #5   Spotlight this post!  
Unread 20-01-2006, 19:52
june_2008 june_2008 is offline
Registered User
AKA: Julia Filer
FRC #0547 (Fear)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Fayetteville, Tennessee
Posts: 28
june_2008 is an unknown quantity at this point
Re: Fixing Camera "overload"

Quote:
Originally Posted by Crtcalmss
Our team had been having problems with the color registration for the camera. Whenever we got closer to the illuminated target, the color "washed" out on the camera display and the computer couldn't recognize the color green. In addition, we were having significant problems with the camera trying to track the room's fluorescent lights and the light coming in from the windows. A previous thread suggested a UV filter since this kind of camera was sensitive to UV. Our team killed two birds with one stone... We went to Wal-Mart, bought the cheapest pair of dark (grey) sunglasses we could find, removed the lens, and mounted it in front of the camera's lens. We now have a camera that no longer responds to UV, has a nice, dark, background, even in full light, and sees the illuminated target as a nice, rich green color that is easy to track. Some tweaking of the camera controls through the software was needed, but its now working great and it tracks very well and re-acquires quickly when signal is lost.

The sunglasses were in the jewelry department and cost a whopping $3.95. They were a pair of "kids" sunglasses with 100% UV protection.

Hope that helps someone...
Exactly what was your camera doing before you put on the sunglass lens? Was the tracking light on, but the terminal window showing maximum error?
__________________
- 2006 St. Louis Regional Champions

2006 Galileo Division Finalists

"Those parts of the system that you can hit with a hammer are called hardware; those program instructions that you can only curse at are called software."
Anonymous
  #6   Spotlight this post!  
Unread 21-01-2006, 11:39
Crtcalmss Crtcalmss is offline
Team Mentor
FRC #0350 (Timberlane Owls Robotics Club (TechnOtus))
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 1999
Location: Plaistow, NH
Posts: 13
Crtcalmss will become famous soon enough
Re: Fixing Camera "overload"

Devicenull - I'll point that out to the student in charge. Its beginning to sound like he didn't read the manual fully, especially if the page starts with a description of one of the exact problems we were experiencing.

June - We had three separate problems that were compounding each other. We were able to capture frames and see the target but the target was all white in the middle and we couldn't get a good lock on the color. The second was that the camera was fixating on other light sources like the shop window and the overhead fluorescent tubes. The third turned out to be a servo that was installed backwards.

The sunglasses I mentioned in the first post fixed problems 1 and 2, but the third problem was discovered after we realized that the software was giving the correct instructions to track the target, but kept losing it because the signal was sending the camera platform in the opposite direction. Everything is now working, but based on Devicenull's post, I think we'll probably eliminate the need for the sunglasses once my programmer actually reads the manual more thoroughly!

We do appreciate the help and concern -
Steve Rugoletti
Team 350
Timberlane HS. Plaistow, NH
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
How To Use the Google Camera generalbrando Kit & Additional Hardware 2 07-02-2006 16:00
Camera pointing error? Craig Putnam Programming 14 21-01-2006 02:52
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11


All times are GMT -5. The time now is 19:28.

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