Go to Post But don't forget about the little details, that can (and will) come back to haunt you. - Ben Piecuch [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
  #16   Spotlight this post!  
Unread 14-01-2006, 21:55
ahecht's Avatar
ahecht ahecht is offline
'Luzer'
AKA: Zan
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
ahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond repute
Send a message via ICQ to ahecht Send a message via AIM to ahecht Send a message via Yahoo to ahecht
Re: answer

Quote:
Originally Posted by Nimmy
I was also thinking to put a layer of some whitish plastic on the light to make it less bright.
The light should have a sheet of whitish plastic mounted in front of it. There was a piece of HDPE in the kit (shrinkwrapped with the cold cathodes) that is designed to be used as a diffuser.
__________________
Zan Hecht

Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992


"Life is an odd numbered problem the answer isn't in the back of the book." — Anonymous WPI Student
  #17   Spotlight this post!  
Unread 14-01-2006, 22:17
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 Athenian Roboti
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
I also ran into this problem. To fix it (without filters, anyway), write a value of 2 to the saturation control register (register 3), I.E. send a "CR 3 2" to the camera.
__________________
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

Last edited by Eldarion : 14-01-2006 at 22:34.
  #18   Spotlight this post!  
Unread 14-01-2006, 22:31
AV_guy007's Avatar
AV_guy007 AV_guy007 is offline
Registered User
AKA: Sam
FRC #0177 (bobcats)
Team Role: Leadership
 
Join Date: Jan 2006
Rookie Year: 2006
Location: South Windsor
Posts: 185
AV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud of
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)
my team was working on the camara today and had the same problem we have not found a solution to the problem. ours was reading 240 240 240 and did the same with the floresent lights in the room. we thought we could mabey have it track the wite light but then soon remembered how bright the arenas are.

let me know if you find a solution thanks
__________________
Team 177
bobcat robotics
BLUE ALLIANCE CREW MEMBER

Next event attending: Kickoff 08- Manchester NH With TBA
  #19   Spotlight this post!  
Unread 14-01-2006, 22:32
AV_guy007's Avatar
AV_guy007 AV_guy007 is offline
Registered User
AKA: Sam
FRC #0177 (bobcats)
Team Role: Leadership
 
Join Date: Jan 2006
Rookie Year: 2006
Location: South Windsor
Posts: 185
AV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud ofAV_guy007 has much to be proud of
Re: answer

Quote:
Originally Posted by ahecht
The light should have a sheet of whitish plastic mounted in front of it. There was a piece of HDPE in the kit (shrinkwrapped with the cold cathodes) that is designed to be used as a diffuser.
thats how ours is set up but we still have the same problem
__________________
Team 177
bobcat robotics
BLUE ALLIANCE CREW MEMBER

Next event attending: Kickoff 08- Manchester NH With TBA
  #20   Spotlight this post!  
Unread 14-01-2006, 23:17
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: camera trouble,cant tell the green-light from regular white light

Take a loot at the workbook here, page 6-7.. it tells you exactly how to fix that problem. (Or you can copy the values from the default code to the GUI and see how that works)
  #21   Spotlight this post!  
Unread 14-01-2006, 23:23
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: camera trouble,cant tell the green-light from regular white light

Quote:
Originally Posted by Mike
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
Yea, what we were doing was using last year's Java GUI to try to calibrate the camera. Of course, if I had read a little bit more before I started I would have known that the Java GUI is by default in the wrong color space, and thus no wonder it was acting differently than the default code.

(Interestingly, Track White in RGB tracks the vision target brilliantly. It also tracks the flourescent lights and paper ).

Next time I get my hands on the camera, I just need to fix some pan/tilt backwardness and we should be in business.
  #22   Spotlight this post!  
Unread 15-01-2006, 00:10
drinkdhmo drinkdhmo is offline
Registered User
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Idaho Falls, Idaho
Posts: 5
drinkdhmo is an unknown quantity at this point
Re: camera trouble,cant tell the green-light from regular white light

I remedied the tilt problem for our camera by doing a little digging into the user manual. Somewhere in there it talks about the demo mode and the pan and tilt invert jumpers. It mentions that the tilt invert jumper needs to be installed while it is trying to track. We did this and it inverted the tilt axis, just as we wanted. The weird part is, ever since we did that, the board now responds to a jumper that is installed or removed while the power is off, where it did not before. I know this fix is counterintuitive, that is why I was a little hesitant at first. Make sure you do everything in your power to fix the inverted axis before trying this remedy. Then you can try this method at your own risk.

Also, concerning the difference between white lights and the supplied green light from the KOP, we are experimenting with different filters for the lense. We have more research to do, but at this point we are looking at using a polarizing filter and a neutral density filter. When we finish our testing, I will post the filter arrangement we find to be best. Good luck!
  #23   Spotlight this post!  
Unread 15-01-2006, 00:54
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 drinkdhmo
Also, concerning the difference between white lights and the supplied green light from the KOP, we are experimenting with different filters for the lense. We have more research to do, but at this point we are looking at using a polarizing filter and a neutral density filter. When we finish our testing, I will post the filter arrangement we find to be best. Good luck!
You really don't need to bother with that; I've been there and while it works, it is much easier to just do what I described in my earlier post.

When you crank the saturation control register way down, flourescent lights look red, the target looks green, and arc-lights look bluish.
__________________
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
  #24   Spotlight this post!  
Unread 14-01-2007, 10:23
bcieslak
 
Posts: n/a
Re: Possibly fried Board?

We had to go into the camer code that Kevin supplied and changed the sign bit in tracking.h. otherwise the camera woul look away form the light.

BC

Quote:
Originally Posted by Smithvillefirst View Post
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?
  #25   Spotlight this post!  
Unread 14-01-2007, 10:32
bcieslak
 
Posts: n/a
Can't get TTL port on new camera to work

We are developing code on an EDUbot while our team builds up the base of the robot. We had code from last year that works great with last year's camera. We use TTL to TTL port communications for this prototype. When we replaced the camera with this years model it doesn;t work. It searches but never finds the light. All the information in the T-packet is zero. I checked for the obvious like baud rate. I assume with no jumpers its 115200 baud. I get the impression from the assmbley drawing (the only docs IFI provided this year for the new camera) that the TTL port may be disabled.

As mentioned earlier, last years camera works fine on the prototype.

ANy Clues or do we have a bad camera?

PS we are using Kevin Watson's camera code.

BC
  #26   Spotlight this post!  
Unread 14-01-2007, 10:44
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: camera trouble,cant tell the green-light from regular white light

If you're calibrating the camera using the labview CMUcam2 demo file, then try to lessen your tolerance over there, maybe that's the problem.
  #27   Spotlight this post!  
Unread 14-01-2007, 14:53
JSonntag JSonntag is offline
Registered User
FRC #0486 (Positronic Panthers)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: United States
Posts: 16
JSonntag is on a distinguished road
Send a message via AIM to JSonntag
Re: camera trouble,cant tell the green-light from regular white light

If you are using the labview program that was supplied last year, select there should be an option to load light parameters from an external file. One of the files (there should only be one or two) holds the default color values for the lights supplied by First and will distinguish between green and white light.
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:33.

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