Hacker News new | ask | show | jobs
by ice109 3249 days ago
is this a trick or is geolocation on iPhones better than the 5m typically quoted.
2 comments

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

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)
Most of those buildings are pretty far away from the camera, so it doesn't seem like it would need to be that accurate.
I think the way GPS apps have resolved this is using your bearing, comparing it to lanes on the road, and moving the route to match where you are actually moving. This might need some finer adjustment based on where your camera is pointing and your bearing.