xviz
xviz copied to clipboard
Feed data to a XVIZLiveLoader
Hello.
I'm working on a project and I want to send data to a XVIZLiveLoader on a web interface. I don't understand exactly how the XVIZServer or XVIZSession are using websockets. I know how to build the data with the XVIZBuilder but I'm confused how the networking part takes place. I wrote the backend in Python. Are there any examples for my case?
Thank you very much.
I am also working on this case, unfortunately, don't know how to do.
Hi, did you find any solution? @AdelinaK @suseme
Hi. This example can be useful https://github.com/uber/xviz/tree/master/python/examples
You need XVIZServer, XVIZBaseSession and Builders. XVIZServer contains the websocket connection and the BaseSession runs in a loop and sends data (it is connected to your data source). The Builder is like in the example.
I hope this helps.
Thanks @AdelinaK Did you take data and show it on streetscape side with this method ?