Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A HoloViz extension was loaded previously #70

Open
robotcyy opened this issue Apr 2, 2023 · 2 comments
Open

A HoloViz extension was loaded previously #70

robotcyy opened this issue Apr 2, 2023 · 2 comments

Comments

@robotcyy
Copy link

robotcyy commented Apr 2, 2023

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
Copy link
Author

robotcyy commented Apr 2, 2023

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
Copy link
Author

robotcyy commented Apr 3, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant