Open Aricling opened 2 months ago
Some things to consider:
You will have to start a server such that the RemoteViewer
can connect. You can do so via
if __name__ == "__main__":
from aitviewer.configuration import CONFIG as C
from aitviewer.viewer import Viewer
C.update_conf({"server_enabled": True})
v = Viewer()
v.scene.floor.enabled = False
v.run()
So if you run this on your local machine and then execute the example script on your local machine, it should be able to connect. If you run your script on the linux server, you will have to connect to the IP of your local machine.
You can find more documentation here: https://eth-ait.github.io/aitviewer/remote.html
Hope that helps!
Hello! I'm attempting the remote viewer introduced in
https://eth-ait.github.io/aitviewer/remote.html
, and I use the same code as presented on my linux server:But I always get failed to connect and I don't know why:
Could someone help pls?