- May 8, 2022
- Posted by: AliensFaith
- Category: BEIRUT STYLE
No Comments
have a robot pan/tilt and want to translate normalized coordinate between 0 and 1 to irl canvas, then find the degree to which the servos have to use to turn. The pan and tilt is placed at the centre of the canvas with distance z.
The stat position of my servos is 90
I multiplied the normalized coordinates for the x = (x * canvasW) and the Ypoint = (y * canvasH) giving me the points the new place but how do I determine the x and y angles to assign to the pan/tilt movements?
any algorithm that will guide to me achieve my goal ??
submitted by /u/lukedelray
[link] [comments]