WebSocket Server The SDK integrates with the Foxglove app using a WebSocket server. For an introduction to basic logging with the WebSocket server, see the earlier example. This guide describes more of the features that the SDK and app support.
Connecting By default, the server listens on 127.0.0.1, port 8765, which matches the app's default connection string. In the app, choose "Open. Foxglove WebSocket examples This package provides example server and client implementations of the Foxglove WebSocket protocol.
The protocol enables Foxglove to ingest arbitrary "live" streamed data. To list all possible actions, run the following command. Foxglove WebSocket server ⚠️ Important Notice: This package is no longer maintained and has been replaced by foxglove-sdk.
We recommend migrating to the Foxglove SDK for future development. This package provides a server implementation of the Foxglove WebSocket protocol with examples. The protocol enables Foxglove to ingest arbitrary "live" streamed data.
Example servers This package. Connect In Foxglove, select "Open connection" from the dashboard or left-hand menu. Select "Foxglove WebSocket" in the "Open a new connection" dialog, then click "Open" to accept the default connection string: Local data Recording data to a file The SDK can also log data to disk.
WebSocket Examples and Services Relevant source files This document demonstrates practical usage of the Foxglove WebSocket server through examples, service implementations, and parameter management. It covers the implementation patterns and APIs across Python and Rust for building live visualization servers with interactive capabilities. This package provides example server and client implementations of the Foxglove WebSocket protocol.
The protocol enables Foxglove to ingest arbitrary "live" streamed data. To list all possible actions, run the following command: $ npx @foxglove/ws-protocol-examples@latest. Foxglove WebSocket Protocol Important The libraries in this repository are deprecated and no longer maintained.
Please migrate to the Foxglove SDK. The Foxglove WebSocket protocol doesn't specify what format your data needs to be in - instead, it requires the server to provide this information to the client dynamically. This is intentional, because we foresee teams wanting to work with many different kinds of data in Foxglove.
A WebSocket server for live visualization in Foxglove. After your server is started, you can open the Foxglove app to visualize your data. See Connecting to data.
Load local and remote MCAP files containing custom data (i.e. Protobuf, JSON, FlatBuffers), or connect directly to live custom data via a Foxglove WebSocket connection.