Hello,
Is there any way to detect in code if the device running the app does not support Ground Plane? I am testing on a OnePlus 3T (not in the list of supported devices, although seems capable). I do not see any errors logged, but it also does not function (I only see camera feed, and clicking does not but trigger focus). The same app built to an iPad Air works fine. Is there any way I can detect an unsupported device so as to indicate in the interface it will not work correctly?
Thanks!
Hello,
Looking through my notes I did find the following:
"The function call to check if Ground Plane is support is: PositionalDeviceTracker::init() If this returns false, the device does not support Ground Plane. The API for this is available starting with Vuforia 7.0.47 (available with Unity 2017.3.0p4)."
I believe this API is present in the 7.3.8 EAP SDK.
IMPORTANT NOTE: The above only applies to the pre-7.2 SDK release, and to the 7.3.8 EAP. Use the Vuforia::getActiveProvider() if you are looking for similar functionality in SDK 7.2.
For your SLAM mode question, Vuforia now provides two (2) variants of Extended Tracking: SLAM (legacy) and Fusion (aka device tracker). By default in 7.2, when Extended Tracking is enabled it will use Fusion (ARKit, ARCore or Vuforia device tracker, depending upon what is the best solution for that device). If there are any performance concerns related to migrating from SLAM our new, device tracker Extended Tracking we have exposed new APIs that allow for devs to fall-back to our SLAM solution for non-Ground Plane/Model Target features.
Please refer to links in the following article for details: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/How-To-Migrate-Your-Existing-Apps.html
Thanks,
Vuforia Engine Support