Hello,
I trying to understand how to use the DefAccFrame function, hopefully somebody can help![]()
I am trying to permanently modify a work object after the piece of equipment it is relative to has been moved. Using the DefAccFrame function, with 3 pre-shift positions (equipment in the original position) and 3 post-shift positions (equipment in new position), DefAccFrame has calculated a displacement frame—at this point is where I am getting stuck. I am not quite sure how to use this displacement frame to permanently displace the original work object. I assume if I added this displacement frame values into the object frame, it would get me what I wanted, but I would like to shift the user frame.
! Original work object
PERS wobjdata w_original:=[FALSE,TRUE,“”,[[2115.23,1499.37,261.151],[0.705378,-0.00116034,0.000807719,-0.70883]],[[0,0,0],[1,0,0,0]]];
! Displacement frame
PERS pose poseCalcDefAccFrame:=[[-9.92334,-3.03179,2.10921],[1,0.000215442,0.000502461,0.000809608]];
poseCalcDefAccFrame:=DefAccFrame(pPreShift,pPostShift,nNumOfDefAccRTsUsed,maxerr,meanerr);
Originally, I tried adding the x,y,z values together, but I am not sure if the displacement frame is in work object coordinate system, or the base of the robot?
Thanks in advance,
Robert.