PoseHeadingDegrees/GPSImgDirection seems to be random.

There’s a relevant discussion here:

I’m not sure what the GPSImgDirection refers to. As the camera does not have a GPS unit, the GPS must be coming from the smartphone. Are the PosePitchDegrees and PoseRollDegrees changing?

Xmp.GPano.PosePitchDegrees                   XmpText     4  -0.9
Xmp.GPano.PoseRollDegrees                    XmpText     4  -0.6

There’s a tutorial here on accessing the raw data of the orientation sensors:

If your camera is unlocked (it’s free), you can install a compass app inside the camera and confirm that the internal magnetic field reading of the camera is correct.

What firmware version are you using? You can update the firmware with the desktop app and a USB cable.

GPSImgDirection was different in both pictures.