Hello Jeffrey,
Thank you for letting me know, that the issue has been resolved!
Please also check, that leading "space" symbol in CSV file doesn't affect the import process. As you may need to remove it from all the lines.
What is the heading for a spherical image? Is the left edge considered or the center of the panorama? I am seeing a lot of error in reference panel.
I converted the quaternion to euler for python code which assumes all counterclockwise rotation to Metashape yaw as counterclockwise and roll/pitch as clockwise
# Convert a quaternion into euler counterclockwise angles in radians: roll(x), pitch(y), yaw(z)
def euler_from_quaternion(x, y, z, w):
t0 = +2.0 * (w * x + y * z)
t1 = +1.0 - 2.0 * (x * x + y * y)
pitch_x = m.atan2(t0, t1)
t2 = +2.0 * (w * y - z * x)
t2 = +1.0 if t2 > +1.0 else t2
t2 = -1.0 if t2 < -1.0 else t2
roll_y = m.asin(t2)
t3 = +2.0 * (w * z + x * y)
t4 = +1.0 - 2.0 * (y * y + z * z)
yaw_z = m.atan2(t3, t4)
# Convert radians to degrees
pitch_x=(m.degrees(pitch_x))*-1
roll_y=(m.degrees(roll_y))*-1
yaw_z=(m.degrees(yaw_z))
return pitch_x, roll_y, yaw_z # in degrees