diff --git a/cnc_ctrl_v1/Kinematics.cpp b/cnc_ctrl_v1/Kinematics.cpp index c55c5c30..a1939f65 100644 --- a/cnc_ctrl_v1/Kinematics.cpp +++ b/cnc_ctrl_v1/Kinematics.cpp @@ -45,6 +45,9 @@ void Kinematics::recomputeGeometry(){ Theta = atan(2*s/l); Psi1 = Theta - Phi; Psi2 = Theta + Phi; + + _xCordOfMotor = D/2; + _yCordOfMotor = halfHeight + motorOffsetY; }