You've downloaded my heart.
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 10-02-2007, 21:31
ebowla's Avatar
ebowla ebowla is offline
The Overmind
FRC #2016
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Ewing High School
Posts: 15
ebowla is on a distinguished road
Camera Losing Sight Close Up

Well, so far we have been able to get the camera to work properly to a point. It tracks the light perfectly, and when it loses sight of it it does its search pattern to find the light again. Heres where the problem comes in. When we move it close enough to the light (which is at the height it will be at the competition) it starts acting odd. It will find the light for a moment, then instantly lose it and refind it, without doing its normal search pattern. It repeats this constantly until we move it further back. I made sure that it could see the light at all times, nothing was blocking it. I also checked the max tilt value and it is far enough back that it would allow for it to go directly under the light if need be. Any ideas of why this pattern of locking on and losing sight over and over when close to the light is happening, but not when the camera is further away?
__________________
Progamming Master
Disclaimer: May not be actually as good as claimed, not reliable for advice, and shirks away any real work.
  #2   Spotlight this post!  
Unread 10-02-2007, 22:19
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Red face Re: Camera Losing Sight Close Up

I can't answer your question, but just wanted you to know that Team 1286 has similiar camera problems. We can get the camera to work and then suddenly it stops working. In order to get it to work today, we had to remove the green light from the box and expose it so (turn the green lights around) the camera could see it directly about two feet from the camera. This whole camera/light business does not appear to be a very robust system at this point.

I will reading more threads to help figure out our issue. One thread I just read suggested making sure the 12V battery powering the light is fully charge. Another, that the 7.2 V backup battery (which powers the camera) needs to be fully charged as well.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
  #3   Spotlight this post!  
Unread 10-02-2007, 23:10
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 Losing Sight Close Up

Quote:
Originally Posted by ebowla View Post
Any ideas of why this pattern of locking on and losing sight over and over when close to the light is happening, but not when the camera is further away?
Is what you are talking about almost like the camera is rapidly twitching back and forth between the light and another point? Our camera does this sometimes, yet fortunately never at the height of the lights in the competition.

Can anyone comment?
  #4   Spotlight this post!  
Unread 10-02-2007, 23:14
T3_1565 T3_1565 is offline
Registered User
AKA: Twitch Drive Designer
FRC #1360
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Burlington, Ontario
Posts: 855
T3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant future
Send a message via MSN to T3_1565
Re: Camera Losing Sight Close Up

it may be from the angle at which it is seeing the light, when we started testing it on our laptop and you do that test in which it shows you a blue box of what it is tracking as green light. depending on the angle that box gets bigger and smaller try hooking your camera up for bench testing and postion it at the point your having problems and use the program to see what the camera is seeing ( if thats confusing in any way I'm sorry, I'm not the programmer so not sure what to call the programs)
  #5   Spotlight this post!  
Unread 11-02-2007, 00:06
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 Losing Sight Close Up

Have you taken a look at what the camera is seeing when it's close to the rack (with LabView)? You may find that the light appears as a very thin line of pixels, with a low tracking confidence value. If you have filtering set above 0 (and therefore subtracts pixels), when the camera is very close to the rack the light may "disappear". If that is the case, you may get better results with filtering set to 0, or by placing the camera farther back and/or higher on the robot to give it a better viewing angle.
__________________
Pete Kieselbach
#4

  #6   Spotlight this post!  
Unread 11-02-2007, 00:14
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,573
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: Camera Losing Sight Close Up

Hey - check what your maximum tilt angle is defined as. It's in your tracking.h file and orginally it isn't set to allow your camera to look nearly straight up - assuming you are using Kevin's code.
  #7   Spotlight this post!  
Unread 13-02-2007, 16:36
ebowla's Avatar
ebowla ebowla is offline
The Overmind
FRC #2016
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Ewing High School
Posts: 15
ebowla is on a distinguished road
Re: Camera Losing Sight Close Up

OK heres the deal, Yes I'm sure the max tilt is fine. It is set more than needed. And yes it does twitch, in other words it moves a lot, but doesn't do it's normal search pattern. Remember this is only when it is really close to the light. As for a backup battery, we are using a (not sure what it actually is but) power source thing that lets you choose the Voltage, so I'm sure it has charge. And same for the main battery.

Petek thanks, your post probably is the problem or at least it makes the most sense, I'll check it the next chance I get.
__________________
Progamming Master
Disclaimer: May not be actually as good as claimed, not reliable for advice, and shirks away any real work.
  #8   Spotlight this post!  
Unread 14-02-2007, 10:45
pheadxdll pheadxdll is offline
Registered User
AKA: Alex
FRC #1225 (Amperage Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: North Carolina
Posts: 168
pheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud of
Re: Camera Losing Sight Close Up

We've had that problem to. The CMU cam looks up to find the light and while it moves to a level it sees it but it still moving to the level. Once it gets on the level it realizes it has lost it and returns to the regular position. Thus in a loop. Right now the camera is mounted on the RC on the base of the robot. Hopefully when we move it a couple feet higher to the arm, this problem will solve itself. I don't want to go in and start editing Kevin's searching code. :X
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/
  #9   Spotlight this post!  
Unread 15-02-2007, 14:09
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Camera Losing Sight Close Up

Very similar problems here at 564. We are considering only using the camera to get close to the rack, and then use other methods to reach the rack. Check out our thread about alternate ways of reaching the column without the light. http://www.chiefdelphi.com/forums/sh...ad.php?t=54024
Please add your ideas!
__________________
Longwood's Digital Impact

  #10   Spotlight this post!  
Unread 17-02-2007, 17:55
ptan ptan is offline
Paul C. Tan., P.Eng.
AKA: Paul Tan
no team (Bolt Action)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2000
Location: Toronto
Posts: 61
ptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to behold
Re: Camera Losing Sight Close Up

Also, don't forget to check the electrical as well. When the camera is up close, it tilts a lot more, and that can put a strain on the power cable to the CMU camera.
__________________
Paul C. Tan., P.Eng.
Coach - FTC Team 27 (now retired)
Coach - VRC Team 2027 (now retired)
Past Mentor - FRC Teams 188, 610, 1009, 2634
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
pic: A sight you don't generally want to see Billfred Extra Discussion 8 05-11-2006 23:23
pic: An incredible sight Stu Bloom Extra Discussion 20 16-05-2005 15:01
Camera Issues -- So close yet so far. team66t-money Programming 34 04-05-2005 23:17
impaired sight edomus General Forum 24 26-02-2003 13:13
So close, but not close enough archiver 2001 1 23-06-2002 23:45


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

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