This repository provides a server implementations to connect a network of eCAL tasks to the Foxglove Studio visualization solution. Foxglove Studio allows to provide data via a websocket connection. This repository provides an implementation to forward arbitrary eCAL (Protobuf) traffic to be available for the wide selection of Foxglove panels.
Please see Installation Instructions
Please run Foxglove Studio, the bridge component and a set of eCAL tasks, whose outputs you would like to visualize. In Foxglove Studio, connect to a Websocket on the default port as a datasource. You can use any of the available panels to visualize the data.
Beware that some panels (like the image visualization panel or the 3D panel) can only display specific message types.
However, Foxglove provides Protobuf .proto
definition files for those messages, see here.
eCAL Foxglove bridge uses the eCAL monitoring layer, to get meta information about data being published in the eCAL network. This means that the names of the avaiable topics, as well as their types are forwarded to Foxglove. Once Foxglove knows about the topics, they can be chosen to be displayed in the respective panels. Only when the user chooses to visualize a specific topic, this information is transported back to the Bridge application. It can then create eCAL subscribers for the requested data and forward it to Studio.
The bandwidth of the Websocket connection is significantly slower that eCALs (SHM) bandwidth.
Especially when trying to visualize big, high frequency data, this can be problematic.
In order not to lag behind in case of overload, the Bridge application uses an internal queue with a fixed size.
Hence, messages might be dropped if they cannot be sent fast enough.
After deactivating compression in the websocket connection as a default, the connection seems fine. Make sure to upgrade the foxglove-websocket
Python dependenc to the newest version (>=0.1.1).