Use #eastUpSouthQTarget to get the quaternion from target to East-Up-South (EUS) coordinates instead. To determine a value analogous to the heading value, calculate the yaw, pitch, and roll values from #eastUpSouthQTarget. When the device is pointing downwards, i.e. perpendicular to the ground, heading is analoguous to roll, and when the device is upright in the device's default orientation mode, heading is analogous to yaw.
This is valid only for GARGeospatialTransform from GAREarth.cameraGeospatialTransform, and is 0 for all other GARGeospatialTransform objects. To get the yaw uncertainty, use #orientationYawAccuracy instead, which is analogous to the heading accuracy when the device is held upright in the default orientation mode.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["Some Cloud Anchor error states, including `GARCloudAnchorStateErrorResolvingLocalizationNoMatch` and `GARCloudAnchorStateErrorServiceUnavailable`, are deprecated in ARCore SDK 1.12 or later and may be replaced with new states."],["Instead of using `GARGeospatialTransform.heading` and `GARGeospatialTransform.headingAccuracy`, developers should now utilize `eastUpSouthQTarget` and `orientationYawAccuracy` for more accurate and robust orientation data, especially considering device orientation."],["`GARGeospatialTransform.headingAccuracy` is only relevant for transforms from `GAREarth.cameraGeospatialTransform` and is otherwise 0."]]],[]]