Commit cec2fe59 authored by Andrey Filippov's avatar Andrey Filippov
Browse files

reversed screws Y

parent f8cffed4
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -6643,12 +6643,12 @@ public boolean LevenbergMarquardt(
    			double zErr, // positive - away from lens
    			double zErr, // positive - away from lens
    			double tXErr,// positive - 1,2 away from lens, 3 - to the lens
    			double tXErr,// positive - 1,2 away from lens, 3 - to the lens
    			double tYErr){// positive - 2 away from lens
    			double tYErr){// positive - 2 away from lens
    		double [][] screws={ // right, down, thread pitch (pull)
    		double [][] screws={ // right, down, thread pitch (pull) !!! Inverting Y!
    				{ 20.5 ,17.5, -0.4},
    				{ 20.5,-17.5, -0.4},
    				{ 20.5,-17.5, -0.4},
    				{ 20.5, 17.5, -0.4},
    				{-20.5,  0.0, -0.4},
    				{-20.5,  0.0, -0.4},
    				{  0.0, 17.5,  0.4},
    				{  0.0,-17.5,  0.4},
    				{  0.0,-17.5,  0.45}};
    				{  0.0, 17.5,  0.45}};
    		double [] moveDownUm=new double [screws.length];
    		double [] moveDownUm=new double [screws.length];
    		double [] turnCW=new double [screws.length];
    		double [] turnCW=new double [screws.length];
    		for (int i=0;i<screws.length;i++){
    		for (int i=0;i<screws.length;i++){