Log in

View Full Version : Finding heading from camera.


SL8
18-03-2008, 17:24
I am not sure how you find a heading to the tracked object base on the camera data.

bear24rw
18-03-2008, 19:10
Could you explain your question in more detail?

tdlrali
18-03-2008, 19:43
Well, if you want a heading based on the current robot heading (instead of an absolute heading), you can figure out the field of view of the camera (an angle measure). Then, using the x-coordinates of the center of the ball, you can approximate a heading.

SL8
18-03-2008, 21:29
I mean that I would like to the program to figure out what the pwm outputs need to be to drive to the ball based on data from the camera.