Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 850 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 850 Bytes

Foxglove Studio WebSocket protocol libraries

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

The protocol is encoding-agnostic, i.e. it can support Protobuf messages, ROS 1 or 2 messages, etc. (as long as the desired encoding is supported by both client and server).

Documentation

Development

Virtualenv usage

pipenv install --dev
pipenv shell

h5py installation on M1 Macs

brew install hdf5
HDF5_DIR=/opt/homebrew/opt/hdf5 pip install -v --no-build-isolation h5py

Run example server

python -m python.scripts.example [hdf5 file]

Run example client

yarn workspace @foxglove/ws-protocol example [host] [topic]