damonChenzf07 / ws-protocol

Foxglove Studio WebSocket protocol specification and libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foxglove WebSocket Protocol

This repository provides a protocol specification and reference implementations enabling Foxglove Studio to ingest arbitrary “live” streamed data.

A Foxglove WebSocket server can provide multiple data streams, called channels. When a client subscribes to a channel, it begins receiving messages on that channel. This protocol does not prescribe the messages' data format. Instead, the server specifies each channel's encoding, and the client uses this information to determine whether it can decode that channel's messages. Read the Foxglove Studio documentation for more information on which encodings Studio supports.

Implementations are available in the following languages:

Language Includes Package name Version
Python server + examples foxglove-websocket
JavaScript/TypeScript server + client @foxglove/ws-protocol
JavaScript/TypeScript examples @foxglove/ws-protocol-examples
C++ server + examples foxglove-websocket

Additional resources

  • eCAL Foxglove Bridge – WebSocket bridge that allows users to connect eCAL systems to Foxglove Studio for easy visualization and debugging

About

Foxglove Studio WebSocket protocol specification and libraries

License:MIT License


Languages

Language:TypeScript 35.5%Language:C++ 32.8%Language:Python 29.8%Language:CMake 0.6%Language:JavaScript 0.6%Language:Dockerfile 0.5%Language:Makefile 0.2%