google-ar / arcore-unity-extensions

Google ARCore Extensions and Geospatial Creator for Unity's AR Foundation
Other
355 stars 96 forks source link

Questions about Geosptial API #163

Open PremiumArts opened 11 months ago

PremiumArts commented 11 months ago

We are developing an AR application for iOS platform using ARCore SDK ,Unity AR Foundation framework and also Geospatial API. We understand that Geospatial API uses VPS (Visual Positioning System) to improve the heading accuracy.

We are looking for answers to these questions related to the Geospatial API:

  1. By our observation, in a location where even the “CheckVpsAvailabilityAsync” is true, if VPS is not tracked, the value of OrientationYawAccuracy goes up, meaning the accuracy is declining. In place where VPS is tracked, the value goes down meaning that the accuracy is improved. We can also simulate this easily by simply covering the device camera by hand before starting the application. Our question is, is there a way to confirm whether the application is tracking the VPS at exactly that moment?
  2. How is the device heading calculated in cases where VPS is not tracked? We can get the heading, but when the OrientationYawAccuracy is high, the heading value is not stable. For example, even the device is not moving around violently, the heading value may change with diff about 10 degrees, is there any way to keep the heading values more stable?
  3. Is it possible to provide custom location data (latitude/longitude) into the SDK? For example, from an external GPS device?
  4. For a private open outside area, (for example, company factory grounds etc.) is it possible to provide custom street view images to make VPS available in that location?
15kingben commented 11 months ago
  1. CheckVpsAvailability will tell you if the area has VPS coverage, however e.g. if the device is indoors, VPS will still not be tracked. You can check the AREarthManager.EarthTrackingState to determine whether VPS is currently tracking, as well as the aforementioned accuracy methods to determine quality.
  2. The geospatial API uses other data sources like GPS and compass to localize the device, however without VPS tracking the accuracy/stability is limited.
  3. We have an API for Recording/Playback on Android devices. Can you provide more details about your intended use case?
  4. We don't support this currently. However, Persistent Cloud Anchors may be suitable for your use case.