Go to Post Silly FIRST mentor -- actually spending brain power caring about a sporting event occuring during build season! - Aidan F. Browne [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-2006, 12:01
Nimmy Nimmy is offline
also Head of Strategy\Translation
AKA: Nimrod Amir
FRC #1577 (SteamPunk)
Team Role: Animator
 
Join Date: Dec 2005
Rookie Year: 2006
Location: Raanana, Israel
Posts: 128
Nimmy is a jewel in the roughNimmy is a jewel in the roughNimmy is a jewel in the roughNimmy is a jewel in the rough
Send a message via ICQ to Nimmy Send a message via AIM to Nimmy Send a message via MSN to Nimmy
camera trouble,cant tell the green-light from regular white light

our programming team has been working all week on the camera
and they can't seem to be able to tell apart the green light we got
for FRC from the regular light from lightbullbs in the room,
we tried it from diffrent distances but the green-light seems to just
be so powerful that the camera gets "blinded" by it and sees it as white

anyone else have this problem?
is it possible our green-light is to powerful? thanks in advance

(sorry for typos, in a hurry)
  #2   Spotlight this post!  
Unread 13-01-2006, 12:13
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: camera trouble,cant tell the green-light from regular white light

(Rick whacks his head with the flat of his hand several times.)

I can't quite remember this conversation, but I think this is pretty close:

At the Seattle Robotic Society's Robothon event I was talking to the builder of the winner of the Robo-Magellan competition. This involved an autonomous robot covering rough ground outdoors to a goal. He mentioned that he finally had to put a filter over his CMU cam to make it work properly. Here is the part my memory fades on. I THINK he said that the camera was being oversaturated by UV light, and that adding a *framistat* level UV filter, it worked much better. Unfortunately I don't remember his name or the nature of the filter. One of our mentors is a SRS regular, I'll ask him if he knows how to find this out.

Sorry I couldn't be of more help.
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
  #3   Spotlight this post!  
Unread 13-01-2006, 12:19
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: camera trouble,cant tell the green-light from regular white light

Quote:
Originally Posted by Nimmy
our programming team has been working all week on the camera
and they can't seem to be able to tell apart the green light we got
for FRC from the regular light from lightbullbs in the room,
we tried it from diffrent distances but the green-light seems to just
be so powerful that the camera gets "blinded" by it and sees it as white

anyone else have this problem?
is it possible our green-light is to powerful? thanks in advance

(sorry for typos, in a hurry)
You should try loading the camera.hex file from either of the .zip archives and see if it works. The default calibration parameters should work just fine if you're using the official FIRST green light.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #4   Spotlight this post!  
Unread 13-01-2006, 12:26
Phreakuency's Avatar
Phreakuency Phreakuency is offline
Registered User
AKA: Chris Lamport
#1058 (PVC Pirates)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Londonderry
Posts: 11
Phreakuency will become famous soon enough
Smile answer

I believe that the reason is that the wavelengths are close enough that it is causing the camera to detect them as the same color. This could either be due to the wavelengths as I said before, or it could be due to a setting in the camera. What I am going to try when I get ahold of the camera again is I am going to dump the camera settings into a text file and I will try to find either a contast setting or jumper, or a good filter type.
I should be able to get back to you by saturday or sunday, if I fnd anything earlier, I will let you all know.
Sincerely,
Phreakuency
__________________
~~All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. (1925 IBM Maintenence Manual)~~
  #5   Spotlight this post!  
Unread 13-01-2006, 13:49
Nimmy Nimmy is offline
also Head of Strategy\Translation
AKA: Nimrod Amir
FRC #1577 (SteamPunk)
Team Role: Animator
 
Join Date: Dec 2005
Rookie Year: 2006
Location: Raanana, Israel
Posts: 128
Nimmy is a jewel in the roughNimmy is a jewel in the roughNimmy is a jewel in the roughNimmy is a jewel in the rough
Send a message via ICQ to Nimmy Send a message via AIM to Nimmy Send a message via MSN to Nimmy
Re: answer

thanks guys, ill update my programming about the camera.hex
and see about that UV filter

is there a chance that the light is to bright for the camera
if we take out one of the green lights (or 2) will it make the green light
less bright? or will it then not catch it in the competition?

I was also thinking to put a layer of some whitish plastic on the light to make it less bright,

the problem is when we "grab image" and then select the green light
it highlights the greenlight and also highlights any other strong lights in the area (fire escape light for example)
it also shows the light in the RGB as green:240 blue:240, the red varies
but it is a high number

however in the edge of the green light, the green is more strong then the other colours, still not good for us though.

I will check back on saturday-sunday also

have a good weekend guys thanks
  #6   Spotlight this post!  
Unread 13-01-2006, 20:09
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: answer

How are you powering the light? We're using a 12 volt Robot battery and its just the right brightness.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #7   Spotlight this post!  
Unread 13-01-2006, 20:39
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: camera trouble,cant tell the green-light from regular white light

I think that the problem lies with camera exposure values. Somehow, if you don't want to use Kevin's code, you have to adjust the exposure settings so thats its dim enough that it can distinguish.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #8   Spotlight this post!  
Unread 13-01-2006, 21:08
Smithvillefirst Smithvillefirst is offline
Anthony Peck
FRC #1806 (Smithville First)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Smithville
Posts: 9
Smithvillefirst is an unknown quantity at this point
Possibly fried Board?

I am Anthony Peck from team1806 and My camera is not working properly the camera has Inverted Servos and WILL NOT be changed via jumpers, Is it fried?
  #9   Spotlight this post!  
Unread 14-01-2006, 11:19
Dman Dman is offline
Dman
AKA: Derek Manwaring
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Idaho Falls, Idaho
Posts: 3
Dman is an unknown quantity at this point
Re: camera trouble,cant tell the green-light from regular white light

I am also having the same trouble with the camera. The pan servo works correctly, but the tilt is inverted. I have tried repeatedly to use the jumper on the board to invert the tilt axis, but to no avail. Any advice in this matter will be greatly appreciated.
__________________
  #10   Spotlight this post!  
Unread 14-01-2006, 11:56
b_mallerd b_mallerd is offline
Programmer
FRC #1346 (Trobotics)
Team Role: Programmer
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Vancouver
Posts: 35
b_mallerd is on a distinguished road
Send a message via MSN to b_mallerd
Re: camera trouble,cant tell the green-light from regular white light

Mayb you just put in the pan servo upside down? Is the arm coming out of it closer to the top?

Just a suggestion...
__________________
  #11   Spotlight this post!  
Unread 14-01-2006, 12:12
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Possibly fried Board?

Quote:
Originally Posted by Smithvillefirst
I am Anthony Peck from team1806 and My camera is not working properly the camera has Inverted Servos and WILL NOT be changed via jumpers, Is it fried?
What exactly do you mean by inverted? Are you using the pan/tilt mechanism from the kit of parts?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #12   Spotlight this post!  
Unread 14-01-2006, 13:39
JoshJ JoshJ is offline
Registered User
#0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Salem County
Posts: 44
JoshJ is on a distinguished road
Send a message via AIM to JoshJ
Re: Possibly fried Board?

Quote:
Originally Posted by Smithvillefirst
I am Anthony Peck from team1806 and My camera is not working properly the camera has Inverted Servos and WILL NOT be changed via jumpers, Is it fried?
I'd be willing to bet that you're camera is mounted upside down. Ours was.... The serial port should be at the top, lense should be towards bottom.
  #13   Spotlight this post!  
Unread 14-01-2006, 13:47
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: camera trouble,cant tell the green-light from regular white light

Quote:
Originally Posted by Dman
I am also having the same trouble with the camera. The pan servo works correctly, but the tilt is inverted. I have tried repeatedly to use the jumper on the board to invert the tilt axis, but to no avail. Any advice in this matter will be greatly appreciated.
Do you have the servos connected to the camera's on-board servo drivers? If so, the tilt jumper is not the jumper identified in the instructions. To reverse the tilt, short the jumper marked as pan in the instructions.

If the servos are hooked up to the RC, just change the code
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #14   Spotlight this post!  
Unread 14-01-2006, 18:43
Athenian Roboti Athenian Roboti is offline
Registered User
FRC #0852
 
Join Date: Jan 2006
Location: Danville, CA
Posts: 9
Athenian Roboti will become famous soon enough
Re: camera trouble,cant tell the green-light from regular white light

We have found theat the camera sensors are overdriven. To remedy this, we have (temporarily) put sunglasses over the camera, and this seems to have worked. We may put a dark filter over it in the future. Good luck.

Team 852-- The Athenian Robotics Collective
  #15   Spotlight this post!  
Unread 14-01-2006, 21:48
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: camera trouble,cant tell the green-light from regular white light

I was talking to Greg Marra today, who had the same problem. He finally fixed it. The problem was that he was using RGB instead of YCbCr.

Hope that helps
-Mike
__________________
http://www.mikesorrenti.com/
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
Green light box demensions? pheNIX637 Kit & Additional Hardware 2 11-01-2006 15:14
Green Light Rachika Garcia Kit & Additional Hardware 1 10-01-2006 08:46
White Paper Discuss: Assembly of the 2006 pan/tilt camera mount Justin Stiltner Extra Discussion 2 09-01-2006 11:17
How many users does it take to change a Light Bulb? Matt Attallah Chit-Chat 4 04-09-2004 20:59
program light blinks red and green JBabbie Programming 3 02-03-2004 09:19


All times are GMT -5. The time now is 17:34.

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