cruise-automation / webviz

web-based visualization libraries
https://webviz.io/
Apache License 2.0
2.08k stars 412 forks source link

API to stream data to webviz instead of file/rosbag? #740

Closed aniongithub closed 2 years ago

aniongithub commented 2 years ago

Is there any API or provision to stream data directly to a running instance of webviz instead of relying on a rosbag file?

jtbandes commented 2 years ago

If you're using ROS, you can try the Rosbridge connection via ?rosbridge-websocket-url=ws://....

There's more documentation for this feature in Foxglove Studio here: https://foxglove.dev/docs/studio/connection/live-connection#rosbridge. And we also have a custom WebSocket protocol for non-ROS users.

aniongithub commented 2 years ago

Thanks, I'll try both those approaches!