concepts.math.frame_utils_xyzw.get_transform_a_to_b#

get_transform_a_to_b(pos1, quat1, pos2, quat2)[source]#

Get the transformation from frame A to frame B.

The transformations are represented as a tuple of position and quaternion. The quaternion is represented as a 4-element array in the order of (x, y, z, w), which follows the convention of pybullet.

Parameters:
Return type:

Tuple[ndarray, ndarray]