Calculate the difference in azimuth angles between 2 Poses
问题 I have 2 Pose representing 2 positions of the camera and I want to get the difference between their azimuth angles. The older pose is retrieved from an anchor set with the older camera pose, so that I shouldn't get errors from updates of ARCore's world understanding. The newer pose is retrieved from the current frame. I tried to use this formula from wikipedia: psi = atan2( 2*(qw*qz + qx*qy), 1-2*(qy*qy + qz*qz) ) Then I substract the older angle from the newer, with no success: when I move