|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
![]() Knowing the size and positions of these reflectors and assuming that the center of the field is (0,0) (or maybe there is one more zero for the camera's z?), how (mathematically) can I take pictures from a camera and calculate the camera's position on the field? Thanks in advance! |
|
#2
|
||||
|
||||
|
Re: How to calculate camera position from retroreflectors
The height of the camera will be constant on most robots.
Quote:
|
|
#3
|
|||
|
|||
|
Re: How to calculate camera position from retroreflectors
Could you give me a link explaining how I'd do it? I don't have a super strong math background.
|
|
#4
|
||||
|
||||
|
Re: How to calculate camera position from retroreflectors
length of target/tangent(angle of target in image) = distance to target
|
|
#5
|
|||
|
|||
|
Re: How to calculate camera position from retroreflectors
But that only gives me distance, how do i determine where I lie on that circle?
|
|
#6
|
||||
|
||||
|
Re: How to calculate camera position from retroreflectors
Quote:
We can certainly learn things from the camera image, don't get me wrong. Definitely rooting you on for trying to figure this out, and I'm definitely not saying its not objectively possible. Its just really, really hard with the equipment and processing power we have. |
|
#7
|
|||
|
|||
|
Re: How to calculate camera position from retroreflectors
Quote:
|
|
#8
|
||||
|
||||
|
Re: How to calculate camera position from retroreflectors
Quote:
That's a very good question. The answer of a how to create a true "FRC GPS" is probably going to be a combination of techniques that might include camera data, inertial guidance data, floor features, range-finders, etc that all can be used to develop a "reasonable" position on the field. But someone's software team is going to have their work cut out for them, that's for sure. |
|
#9
|
|||
|
|||
|
Re: How to calculate camera position from retroreflectors
Quote:
|
|
#10
|
||||
|
||||
|
Re: How to calculate camera position from retroreflectors
Well, that's certainly where things get interesting.... As you said earlier, you know where in a circle you are right now....all you need is one more circle to narrow it down to only two possible locations. I'd be curious to see what kinds of results someone could get with two cameras...one looking at each tower (assuming you can see them). Dunno if the control system infrastructure could support that, but that would get you going in the right direction.
|
|
#11
|
|||
|
|||
|
Re: How to calculate camera position from retroreflectors
|
|
#12
|
||||
|
||||
|
Re: How to calculate camera position from retroreflectors
How does the camera handle multiple targets (If I'm at an angle where two high goals can be seen by the camera at once)?
|
|
#13
|
|||||
|
|||||
|
Re: How to calculate camera position from retroreflectors
Quote:
Last edited by plnyyanks : 10-01-2016 at 00:11. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|