Closed kevintbradbury closed 1 year ago
Referencing this Swift version example: https://github.com/sinano1107/swift-geospatialapi-example/tree/main ,
garFrame
goes from earthState
enabledpreTracking
earthState
is no longer enabledMy issue was that we often have to use GPS location simulation and after turning off location simulation, I began receiving coordinates. I suppose the assumption is that you won't be using the geospatialTransform if you aren't in the area where you plan to use it. But there is nothing explicit in the errors, that I am aware of anyways, that states that.
Hello,
I've been struggling to get the
cameraGeospatialTransform
from thegarFrame
in my own app. I've gone back and reviewed the sample ARCore app (Obj-C version) and can receive the transform data properly there. Please see the init code below.The
useGpsOrVps
func check forearthState
andtrackingState
but the tracking always returns asGARTrackingStatePaused
any help is welcome, thanks.