Log in or register to post comments

Detect Unsupported Device

July 16, 2018 - 4:40pm #1

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!

Detect Unsupported Device

July 17, 2018 - 12:46pm #6

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

 

Detect Unsupported Device

July 17, 2018 - 12:15pm #5

Thanks for clarifying.

I think I will have to revert to using 7.2 assuming there is no reliable way to detect ground plane support.

Another question regarding ground plane - just wanted to confirm there is no SLAM tracking mode except image target/model target if the fusion mode is FUSION_PROVIDER_VUFORIA_VISION_ONLY? There must be some object to recognize to establish scale in devices with this fusion provider?

Detect Unsupported Device

July 17, 2018 - 12:05pm #4

Hello,

The EAP (or beta) version number may be non-sequential compared to our commercial release versions.

The Model Targets Advanced Recognition (Mtar) feature is currently in EAP, so it was released from a development branch. In this case, the APIs previously mentioned were introduced in 7.2 after the current EAP (7.3.8) was released - despite the version numbering discrepancy.

I don't have a firm roadmap date on when the Mtar feature will be commercialized, or when there may be an updated version of the EAP artifact (which may or may not include these new APIs). Thus, if it is important for you to have access to these new APIs, I do suggest moving to our 7.2 SDK.

Thanks,

Vuforia Engine Support

Detect Unsupported Device

July 17, 2018 - 10:16am #3

Thank you!

However, I am now a bit confused. I began using Vuforia 7.3.8 for the advanced recognition early access - is it actually a branch of the development? I do not see this method available nor details in release notes for where it may now reside. If this is the case, is there an expected release date for merging them to enable all capabilities? Should I revert to Vuforia 7.2 if I'd like to utilize both model targets and ground plane in my app?

Detect Unsupported Device

July 17, 2018 - 8:44am #2

Hello,

Vuforia 7.2 SDK has new APIs for querying whether a device is supported: getActiveFusionProvider()

For Unity: VuforiaRuntimeUtilities.GetActiveFusionProvider()

Please see the following article for additional information (see Fusion APIs, about 3/4 the way down the page): https://library.vuforia.com/articles/Training/vuforia-fusion-article.html

Thanks,

Vuforia Engine Support

Log in or register to post comments