|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Blob Size
I was wondering if it would be possible to know how far away the goal is by the blob size alone...is this possible? You'd think it would be as long as you know the actual size of the object you are tracking.
|
|
#2
|
||||
|
||||
|
Re: Blob Size
The main difficulty with that is that the blob will appear smaller if you are looking at it from an angle...
|
|
#3
|
||||
|
||||
|
Re: Blob Size
Quote:
Anyway, a better way might be to determine the height of the blob using y1 and y2 because the height won't vary much. -Kevin |
|
#4
|
|||||
|
|||||
|
Re: Blob Size
Quote:
![]() Last edited by Eldarion : 29-01-2006 at 18:56. Reason: Wrong quote... |
|
#5
|
||||
|
||||
|
Re: Blob Size
If you need a distance estimation I would recommend using the tilt values of the servos and the y coordinates of the blob. Confidence also decreases at large distances.
|
|
#6
|
|||||
|
|||||
|
Re: Blob Size
well I was just wondering because the team wants to fix the camera to our shooter, so it would be driven by a motor and two things would be changed at once... I was also thinking of keeping track with a sensor, and doing some conversion of teeth to angle... just exploring all the options, and this one just poped up, but it seems it is too unstable so any more ideas, or would the sensor be the best bet? Thanks
|
|
#7
|
|||||
|
|||||
|
Re: Blob Size
Heres what I would suggest. If you have to, you can still use the fixed mount to determine distance. I believe that there is a way to "shift" where the camera's center is (Maybe its shifting the centroid of the blob). In other words, you can have the camera pointing slightly offset of the target, yet still have it return center values.
So, have a routine that slaves the turret to the camera, until it finds the target. Upon finding the target, use the values to determine distance. Then, move the camera center values accordingly in order to correctly angle your shooter, if necessary. After that, unless it loses the target, you can subtract the current offset of the camera to determine current distance, and accordingly re-adjust the camera center to place your shooter "on zero". I'm sure there is a more elegant solution, but perhaps this can be a place to start. EDIT---------------------------------------- Post number 600! |
|
#8
|
|||||
|
|||||
|
Re: Blob Size
well that is another way I didn't think of, thanks for the idea.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Size Of control box | rcubes85 | Control System | 8 | 18-02-2005 10:22 |
| Robot Controller File Size Limit ?? | RoboGeek | Programming | 1 | 17-01-2005 19:59 |
| What size is it? | sburro | Motors | 3 | 19-11-2004 19:38 |
| What size monitor do you use? | Elgin Clock | IT / Communications | 30 | 10-03-2004 16:53 |
| Is there a size regulation for the pit area if we wanted to put up a banner | Ragin_Kage | General Forum | 6 | 14-03-2002 15:33 |