|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
another problem
also, sometimes the camera gives me a GREEN picture- with everything green and blue and black.
does anyone know why? |
|
#3
|
|||
|
|||
|
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
|
|||||
|
|||||
|
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
|
||||
|
||||
|
Re: tracking two tetras?
Quote:
|
|
#6
|
|||
|
|||
|
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 :'( |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |