I have a kinect from xbox that constantly reads my position on the XYZ plane, I also have a robot with a motor that must turn the motor depending on the position of my hand, respectively, it will be some variable that will set the speed of the motor and somehow calculated, so I have a question how to calculate. I have a cycle that goes through y depending on where the hand is now, y takes constantly different values, depending on which the motor should turn by a certain degree. As I understood this question is related to direct / reverse kinematics, but I did not understand what is what. The distance from the grip to the lowest position is about 20 cm, which formula should be used to calculate the degree of rotation of the motor depending on the position of the hand