Log in or register to post comments

Device tracking does not work on Huaweii P9Lite

January 9, 2017 - 6:34am #1

We are working on an app that uses device tracking for a hide and search game. On most of our test devices we got the expected result but on our huaweii P9Lite it looks like there is an error calibrating our phone (tested this on 2 different huaweiis P9 Lite and got the same error).

CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

Could not initialize the tracker.

UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)

UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])

UnityEngine.Logger:Log(LogType, Object)

UnityEngine.Debug:LogError(Object)

Vuforia.TrackerManagerImpl:InitTracker()

Vuforia.DeviceTrackerARController:InitDeviceTracker()

Vuforia.DeviceTrackerARController:OnVuforiaInitialized()

System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)

System.Delegate:DynamicInvokeImpl(Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Delegate.cs:443)

System.MulticastDelegate:DynamicInvokeImpl(Object[]) (at /Users/builduser/buildslave

 

Normal AR does work as intended on this device but rotational AR/VR does not seem to work. Tested the same project on following devices where it did work:

* Samsung S6

* LG g3

* Nexus 6

* iPhone 6

I am using Vuforia 6.2.6 and these are the settings I used to enable device tracking.

 

 

 

AttachmentSize
Image icon Capture.PNG4.64 KB

Device tracking does not work on Huaweii P9Lite

January 10, 2017 - 7:22am #3

Hi medabit,

 

thanks for the answer.  Is there any fall back that Vuforia can use when there is no gyroscope present, only using the accelerometer to estimate this, or is this not supported?

Device tracking does not work on Huaweii P9Lite

January 9, 2017 - 12:26pm #2

Hello,

Reviewing the device specs, it does not seem that the device has a gyroscope: http://pdadb.net/index.php?m=device&id=10336&c=huawei_p9_lite_dual_sim_lte_vns-l21__vns-l31__huawei_venus

Vuforia's device tracker will fail to initialize if any of the required IMUs are missing or not accessible.

Thanks.

Log in or register to post comments