Go to Post Who would think 130 points would be a losing score! - Chris Fultz [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 08-02-2005, 13:09
Anton's Avatar
Anton Anton is offline
Anton Povzner
#1581 (Element)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Israel
Posts: 51
Anton can only hope to improve
tracking two tetras?

recently I thought about tracking two tetras at once(if they are both in my field of view) or at the least driving towards ONE of them.
If i could paint half the picture with black, I could just erase one tetra.
now how ca i change anything about the picture?
  #2   Spotlight this post!  
Unread 08-02-2005, 14:49
Anton's Avatar
Anton Anton is offline
Anton Povzner
#1581 (Element)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Israel
Posts: 51
Anton can only hope to improve
another problem

also, sometimes the camera gives me a GREEN picture- with everything green and blue and black.
does anyone know why?
  #3   Spotlight this post!  
Unread 08-02-2005, 23:31
logicalhippo logicalhippo is offline
Registered User
AKA: Russell McClellan
#0213 (Dirty Birds)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Keene, NH
Posts: 11
logicalhippo is an unknown quantity at this point
Send a message via AIM to logicalhippo
Re: tracking two tetras?

This is a SERIOUS problem that at the moment I'm quite concerned about. (the two tetra problem) - basically what it comes down to is you're going to have to do something tricky. The camera detects the center of mass of the calibrated color in the image, which means that if two tetras of equal distance are in the field of vision, the camera will return the point between them.

One thought I had was you could start your robot facing paralell to the wall, set the x-range of the view window to a really small value (10-20), and then slowly rotate the robot until it sees a tetra. because of the small window, we can be reasonably sure it is only one tetra. I haven't tested this yet.
  #4   Spotlight this post!  
Unread 08-02-2005, 23:39
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: tracking two tetras?

Try this: When you see a tetra pan the camera far enough that the center point of the target should be right on the edge of the field of view of the camera. If it is where it should be then you are only tracking one tetra. If not then you were previously tracking two tetras and now you are only tracking one. Some variation on that.
  #5   Spotlight this post!  
Unread 09-02-2005, 08:59
Anton's Avatar
Anton Anton is offline
Anton Povzner
#1581 (Element)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Israel
Posts: 51
Anton can only hope to improve
Re: tracking two tetras?

Quote:
Originally Posted by logicalhippo
set the x-range of the view window to a really small value (10-20) .
Actually, my question was how to change the field of view?
  #6   Spotlight this post!  
Unread 09-02-2005, 15:02
logicalhippo logicalhippo is offline
Registered User
AKA: Russell McClellan
#0213 (Dirty Birds)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Keene, NH
Posts: 11
logicalhippo is an unknown quantity at this point
Send a message via AIM to logicalhippo
Re: tracking two tetras?

you can't using the default code as it is. Basically you send:
VW xmin ymin xmax ymax\r
to the camera. I'm not too familiar with the default code so I can't help you any more. sorry :'(
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
YMTC: Descoring Tetras??? Natchez You Make The Call 16 10-02-2005 13:00
Q/A questions so far.. AmyPrib Rules/Strategy 49 28-01-2005 08:39
Question: Missing Tetras in Human Loading Zone? tribotec_ca88 Rules/Strategy 7 15-01-2005 15:26
How to Stack Tetras in Inventor petek Inventor 0 13-01-2005 11:47
Just where are vision "bonus" tetras placed? David Brinza Rules/Strategy 17 10-01-2005 20:50


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

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