I'm looking for a method to effectively automate the creation of a base frame within a program rather than having to do it manually by using Setup > Measure > Base > 3-point but would ideally like to use the same principal.
The current setup has a frame created in cad from 3 holes on the part. The robot goes to the first hole and adjusts the origin x, y and z of the frame using a vision system. The robot then proceeds to the hole on the x axis and then the hole on the x/y plane locating the holes using the vision system.
What I would like to know is if anyone is able to get functional KRL code to do this as I've struggled to get this to work.
Any help much appreciated.