Log in or register to post comments

Ground Plane: What would be good practice to re-initialize Ground Plane?

April 1, 2019 - 5:20pm #1

Hello,

 

I'm encountering a dichotomy: It seems that an automatic hit test is made almost immediately or never within a session. I can pan the device continously for a minute without getting an automatic hit. Sometimes, I'll get one in a second. 

 

First of all, what gives?

Second, what's good practice to re-initialize ground plane finding in the case of failure within a certain time period?

 

Thank you.

Ground Plane: What would be good practice to re-initialize Ground Plane?

April 11, 2019 - 3:51pm #5

Hello,

Apologies, but I forgot to respond.

The script with the timer is part of the Vuforia Engine Core smaples: Assets/SamplesResources/SceneAssets/GroundPlane/Scripts/PlaneManager.cs

Thanks,

Vuforia Engine Support

Ground Plane: What would be good practice to re-initialize Ground Plane?

April 4, 2019 - 5:37pm #4

SOLVED, although very rough handed.

 

So restarting the Positional and Rotational trackers doesn't solve the issue. I'm still unable to get an automatic hit. Furthermore, I'm not able to restart tracking.

 

My solution was to put all Vuforia components (except the ARCamera) into a separate scene, and loading it additively or unloading it. This is pretty brutal, but it does work.

Ground Plane: What would be good practice to re-initialize Ground Plane?

April 2, 2019 - 12:34pm #3

What is the device model you're using? Settings->About phone/device->Model number

Samsung S8, S9 on Android 8, Samsung S7 on Android 6 provide the same result. One more thing I forgot to note:

I'm upgrading from Unity 2018.2.5 to 2018.3.9 in order to upgrade Vuforia from 7.2 to 8.0.10. Using Vuforia 7.2 I was not getting this behaviour. I was getting an automatic hit almost immediately -- but -- the tracking was a lot worse, basically unusable. On iPhone 6s+, leveraging ARKit, the tracking is very good.

Additionally, are you using ARCore for plane detection?

I originally had it without, and with using your instructions. Same result.

I recall that the Vuforia Ground Plane sample (part of the Vuforia Core samples on the Unity Asset Store) has a ten (10) second timeout before reinitialization.

Which script and where?

 

 

Ground Plane: What would be good practice to re-initialize Ground Plane?

April 2, 2019 - 11:43am #2

Hello,

viscira wrote:

I'm encountering a dichotomy: It seems that an automatic hit test is made almost immediately or never within a session. I can pan the device continously for a minute without getting an automatic hit. Sometimes, I'll get one in a second. 

First of all, what gives?

What is the device model you're using? Settings->About phone/device->Model number

Additionally, are you using ARCore for plane detection?

viscira wrote:

Second, what's good practice to re-initialize ground plane finding in the case of failure within a certain time period?

I recall that the Vuforia Ground Plane sample (part of the Vuforia Core samples on the Unity Asset Store) has a ten (10) second timeout before reinitialization. We aren't sure if this is considered good standard practice but consider it as a data point.

Thanks,

Vuforia Engine Support

 

Log in or register to post comments