Go to Post "The rio has a boulder sized hole though it? *shrug* Just duct tape it. That doesn't let the code out, right?" - Bkeeneykid [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 28-01-2007, 08:42
Render Render is offline
Registered User
AKA: Robert Udicious
FRC #1885 (Robocats)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Haymarket, Virginia
Posts: 18
Render will become famous soon enoughRender will become famous soon enough
Tracking two lights

Has anyone else noticed that if you set up the lights properly (according to the specs) that it is very easy to lose one of the lights, because the blobs are so tiny? Yesterday we put the lights at the proper distance and position and the instant we moved the camera a tiny bit it locked onto either the left or right light.

Is this normal, or do we have a calibration/code issue?
notes:
-we already had to lower the confidence in Kevin's code for it to lock onto two lights
-We lowered the search delay so that the camera would track faster

Thanks
  #2   Spotlight this post!  
Unread 28-01-2007, 10:55
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,304
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Tracking two lights

We noticed something similar yesterday (just tried two lights randomly in front of the light). It didn't lose the other one when they were both in view, but it did tend to center on one or the other after 1 or 2 seconds.

We're going to do some more testing at the proper heights and distances, then see if we can figure out what it's doing from the data we're getting.
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present
  #3   Spotlight this post!  
Unread 28-01-2007, 11:19
Render Render is offline
Registered User
AKA: Robert Udicious
FRC #1885 (Robocats)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Haymarket, Virginia
Posts: 18
Render will become famous soon enoughRender will become famous soon enough
Re: Tracking two lights

when we have them both at 90 degree angles from one another and the correct spacing it does not continue to track both lights, it usually focuses on one if its moved slightly. However, when they are both right next to one another or most of the light is showing it finds both. If the camera truly loses both ligths so easily scoring on the middle spindle is going to be next to impossible in autonomous mode. We will experiment with it more this week and I will post the findings.
  #4   Spotlight this post!  
Unread 28-01-2007, 13:49
d.courtney's Avatar
d.courtney d.courtney is offline
Registered User
AKA: David
FRC #0781 (Kinetic Knights)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Kincardine, Ontario
Posts: 196
d.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud of
Re: Tracking two lights

Quote:
Originally Posted by Render View Post
If the camera truly loses both ligths so easily scoring on the middle spindle is going to be next to impossible in autonomous mode.
We had this same problem, I made a function thats called when we want to be between two lights, when it losses one, it will rotate back and forth between the two lights, and it actually is more effective at centering in on the spider I find then using two lights. I was pleasantly surprised to find how well this worked. it may also help that we have our camera mounted at the back opposite end of our robot.
__________________
  #5   Spotlight this post!  
Unread 29-01-2007, 16:12
1768's Avatar
1768 1768 is offline
Registered User
FRC #1768
 
Join Date: Jan 2007
Location: USA
Posts: 10
1768 is an unknown quantity at this point
Re: Tracking two lights

We also have this problem. We were hoping that it was a hardware problem but I guess that it isn't.
*frantically hopes d.courtney is a really, really, really good person and posts her code for the benefit of inexperienced teams*
  #6   Spotlight this post!  
Unread 29-01-2007, 18:14
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Tracking two lights

Yeah, Team 11 has the whole rack with lights set up.. we noticed that from the starting position, we track both light but once you get midway to the rack the camera loses track of both lights (camera only can see 60 degrees FOV) and it researchs for the lights again (it finds one almost immediatly)
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
Lights? Total Meltdown Programming 2 17-01-2006 00:35
tracking two tetras? Anton Programming 5 09-02-2005 15:02
Putting two and two together... Andy Grady General Forum 13 08-01-2004 18:29
Pretty Lights... archiver 2001 1 24-06-2002 02:17
Whirling lights.... archiver 2001 1 23-06-2002 23:46


All times are GMT -5. The time now is 23:01.

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