Hacker News new | ask | show | jobs
by bflood 3250 days ago
I generally saw 1-3m accuracy when I was trying out ARKit and some GIS data, YMMV

https://twitter.com/bFlood/status/888485889248157697

that said, when using worldalignment gravityAndHeading, any location inaccuracy when the ARSCNView starts up will throw off the AR illusion, sometimes considerably. I hope apps will be able to correct during an ARSession when better location data is detected

2 comments

Super interesting! What do you mean by better location data detected? Is that something specific for iOS when you ping for location?
>relative to a nearby iBeacon

where is the iBeacon in the parking lot?

there is no iBeacon (not sure where you're quoting that from?), its just spatial data (lat/lons) projected into the SCNScene coordinate space (which is relative to the location and heading of the device when the ARSession starts)
>Core Location provides services for determining a device’s geographic location, altitude, orientation, or position relative to a nearby iBeacon.

https://developer.apple.com/documentation/corelocation

As the quote states, it can (determine the geographic location, altitude, orientation) OR (determine position relative to a nearby iBeacon)
ok yes, an iBeacon is one possible way CoreLocation determines a device's location. in this case there was none, only GPS (and I guess Wifi is used as well)