Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mathematical relationship to control camera heading

Status
Not open for further replies.

naser1234

Electrical
Jun 16, 2010
2
Hi everyone, I want to find a mathematical relationship between my head direction and the direction of a camera placed at a distance. The objective is to make the camera heading to same point where my head is looking at. Both my head and the camera are in the horizontal plane and the motion will be Pan (yaw) motion. Some type of reference transformation has to be applied but I don’t know how to find the relation of my heading verses the camera heading.
 
Replies continue below

Recommended for you

naser1234,

If I think I am visualizing the problem correctly, it is a simple problem of trigonometry. If the camera is in front of you by "y" meters in the vertical direction, your head angle will create a horizontal point at x = tan(head angle)/y. If the point on this horizontal line is what you are looking at, then your camera angle will be 90 deg from the centerline. At any point past this you will need more information. You will need to know the vertical distance beyond the camera or the staightline distance past the point x along the Head Angle line. You will have a simliar triangle, that you can then use sin law or cosine law to figure out your camera angle. I think this is what you are looking for.

Regards,

Rich......[viking2]

Richard Nornhold, PE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor