Given the poses of frames a and b in a common frame w, returns
\({}^{a}T_{b} = ({}^{w}T_{a})^{-1}\,{}^{w}T_{b}\).
Examples
A <- robot_pose(translation = c(1, 0, 0))
B <- robot_pose(translation = c(1, 1, 0))
pose_translation(robot_relative_pose(A, B))
#> [1] 0 1 0