cgre-aachen / open_AR_Sandbox

open-AR-Sandbox is a project to enable haptic interaction with geoscientific content in AR-Sandboxes.
GNU Lesser General Public License v3.0
57 stars 36 forks source link

A HoloViz extension was loaded previously #70

Open robotcyy opened 1 year ago

robotcyy commented 1 year ago

When initializing the projector, I encountered the following problem that prevented real-time updating of the topographic map. How can I resolve this issue? WARNING:param.panel_extension: A HoloViz extension was loaded previously. This means the extension is already initialized and custom raw_css resources could not be loaded. If you are loading custom extensions with pn.extension(...) ensure that this is calledbefore any other HoloViz extension such as hvPlot or HoloViews.

robotcyy commented 1 year ago

This is what happens when I run the Topography.ipynb.

Initialize main thread for live update from sandbox.main_thread import MainThread main = MainThread(sensor=sensor, projector=projector, aruco= aruco if 'aruco' in globals() else None) ​ WARNING:param.panel_extension: A HoloViz extension was loaded previously. This means the extension is already initialized and custom raw_css resources could not be loaded. If you are loading custom extensions with pn.extension(...) ensure that this is calledbefore any other HoloViz extension such as hvPlot or HoloViews. sandbox.projector.contourlines: INFO | ContourLinesModule loaded successfully sandbox.projector.shading: INFO | LightSource set to address RWTH Aachen, Germany at datetime Sun Apr 2 14:10:52 2023 sandbox.projector.cmap: INFO | CmapModule loaded successfully

Start the thread

main.run() sandbox.main_thread: INFO | Thread started or resumed...

The topographic map is static, and I know what is causing this situation. Is there any solution??

robotcyy commented 1 year ago

I deleted the parameter "aruco" from "MainThread" and the problem was resolved

Maybe I didn't understand the module of mark detection carefully.