Log in or register to post comments

Controling for external rotation

July 15, 2019 - 3:59am #1

Hi all,

 

I have been posed an interesting AR problem that I'm trying to solve and that is using AR in a moving vehicle via a mobile device.

 

My research and experimentation so far tells me that it should be viable to do, however I have some high level questions regarding a few of the general principles behind what I'm trying to do.

I had initially thought that give that I was anchoring an object to the environment, that if the environment was also rotating, the base anchor would rotatate, thus there would be no observable rotation on the target object, however this does not appear to be the case. After some additional reading, I'm given to understand the rotation is determinted by using either the gyro or the accelerometer or some combination of the two after the object is initialised.

This means that if the vehicle turns after initialising the object, the phone will pick up that rotation and apply it as if you were moving the phone around.

 

My general idea to solve this would be to only apply the rotation if it's above a certain threshold per frame, and I guess the main question I have is, does Vuforia allow for access to the rotation before it's applied to the object in the scene, or do I need to apply a counter rotation to the object to keep it in place?

 

 

Controling for external rotation

July 16, 2019 - 3:43pm #2

Hello,

Interesting use case!

My evaluation is that you will likely face more problems from the motion blur of the camera frames due to the moving vehicle. Vuforia uses an implementation of visual inertial odometry, in combination with SLAM, to provide Ground Plane tracking. This is likely a similar technology to what ARKit and ARCore utilize for their tracking. Without clear, non-blurry camera frames, I believe all of these solutions' performance will suffer.

And, to answer your question, Vuforia does not provide APIs to access sensor data. It still may be accessible via OS APIs.

Thanks,

Vuforia Engine Support

Log in or register to post comments