exokitxr / exokit

Native VR/AR/XR engine for JavaScript 🦖
MIT License
997 stars 117 forks source link

Magic Leap image tracking example causes log spam when tracked image is in view #1107

Open brianpeiris opened 5 years ago

brianpeiris commented 5 years ago

Describe the bug exokit spams the log with the following two lines continuously when you load the imagetracking_ml example and you bring the tracker.png image into view. The example seems to work though, at least somewhat -- it does loose track of the image at times.

2 I exokit  : frameworks/perception/src/perception_context.cpp(670) UpdateSnapshot():
2 I exokit  : ERR: reason=unableToCompose

To Reproduce

  1. Load the imagetracking_ml.html example
  2. Bring the tracker image into view.
  3. Look at mldb logs.

System information:

avaer commented 5 years ago

Thanks, will need to check the api updates that could have affected the ml update loop.

This api going forward is going to be folded under generic webxr extensions. (Much of that work is already done for ml apis in https://github.com/exokitxr/exokit/pull/1002).