Hello everybody,
I would like to replicate the function "Frame" on other robots, like Kuka.
SET pallet = FRAME(loc.origin, loc.x.axis, loc.pos.y, loc.origin)
The new frame pallet has a different orientation than loc.origin, loc.x,axis and loc.pos.y (let's suppose these 3 points has the same orientation Rx,Ry,Rz)
This difference can be calculated as: SET dif = INVERSE(pallet) :loc.origin
Then, I can move on the pallet:
SET pick = pallet:TRANS(0*x.distance, 2*y.distance):dif
What I don't understand is why the frame pallet comes out with a different orientation, even though the 3 points have the same orientation between them.
Do you have any idea?
Thanks