Click here to Skip to main content
15,896,437 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
C#
In a wall i caliber three corners with acutator pan tilt value and width height of the wall and after calibration i give the x y distance and i want the pan tilt value of acutor to the x y distance

What I have tried:

tl------------------------------------tr  
           inputs: pan tilt of topleft             pantilt of topright
                                                   width height of topright
            width height of topleft
            acutor to topleft distance
            width height of topleft
            acutor to topleft distance
                             


              bl-----------------------------------
Posted
Updated 19-Nov-16 3:46am

1 solution

More or less with the 3 3D points you define a pan and you want to know where a line will cross that pan, it is 3D geometry, with little research, the mathematics are not difficult to find.

As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
Creating an algorithm is basically finding the maths an make necessary adaptation to fit your actual problem.

Show you work and tell us where you are stuck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900