Offsetting a plane via pose_trans

Hi,

I am currently trying to move a plane from a reference point to an offset point.

If I just move the plane in linear directions (X,Y, Z) everything works fine with pose_sub(offset_point, reference_point).

If I get any rotation (RX, RY, RZ) the plane rotates around the origin / base coordinate system (0,0,0,0,0,0) instead of rotating around the points.

I tried to first move the plane from the reference_point to (0,0,0,0,0,0) via pose_sub(), then rotate the plane around the origin and after that moving to the offset_point, but this idea didn’t work for me.

Does anyone have an idea for solving my problem?

Thanks in advance,
Niklas

1 Like

If you already know the co-ordinates of the Offset position you simply need to say Ref_point = Offs_Point.
pose_sub subtracts one Co-ordinat from the other!