Hey everyone,
I've inherited some programs from a previous engineer that had more in depth training/class experience and can't seem to fix this issue.
He has a formula in the program which identifies the center point of a target and automatically adapts after you input the diameter and start position of the robot (gun attached).
Nice formula to have, but the problem is that the gun is slightly skewed and not even with the part it is trying to coat.
I'm assuming it's this:
CONST robtarget center1:=[[-52.69,1236.33,242.17],[0.27784,-0.650014,-0.65534,-0.266112],[-1,-1,2,1],[53.0364,1011.38,9E+09,9E+09,9E+09,9E+09]];
CONST robtarget center2:=[[-54.72,1249.16,248.36],[0.0052454,-0.707411,-0.706738,0.00795885],[0,-1,2,0],[53.0375,1055.99,9E+09,9E+09,9E+09,9E+09]];
CONST robtarget center3:=[[-52.17,1231.74,228.94],[0.000736432,-0.013248,0.705947,0.70814],[-1,-1,1,1],[53.0102,966.116,9E+09,9E+09,9E+09,9E+09]];
I'd like to keep it active in the program just not sure how to adjust the position (if that's even what I'm looking for).
Any info would be appreciated!