Skip to content

PlotJuggler/plotjuggler-lsl

Repository files navigation

PlotJuggler Lab Streaming Layer plugin

This repository contains a streaming plugin for PlotJuggler that uses the Lab Streaming Layer.

You can find additional information about LSL here: https://labstreaminglayer.readthedocs.io/info/intro.html

Build

To build this plugin, PlotJuggler must be installed in your system.

For instance, in Linux, you should perform a full compilation and installation:

git clone https://github.com/facontidavide/PlotJuggler.git
cd PlotJuggler
mkdir build; cd build
cmake ..
make
sudo make install

The compile this plugin:

git clone --recurse-submodules https://github.com/PlotJuggler/plotjuggler-lsl.git
cd plotjuggler-lsl
mkdir build; cd build
cmake -DPlotJuggler_LIBRARY:FILEPATH="/usr/local/bin/" ..
make
sudo make install

The compile this plugin for Windows:

git clone --recurse-submodules https://github.com/PlotJuggler/plotjuggler-lsl.git
cd plotjuggler-lsl
mkdir build; cd build
cmake -DPlotJuggler_LIBRARY:FILEPATH="C:/YOURPATH/PlotJuggler/build/lib" -DPlotJuggler_INCLUDE_DIR:FILEPATH="C:/YOURPATH/PlotJuggler/plotjuggler_base/include" ..
make
sudo make install

Plugin installation

If PlotJuggler can't find this plugin, check the folder where the file libDataStreamLSL.so is located and add it manually in:

App -> Preferences... -> Plugins

Code contributed by:

  • Celal Savur (@csavur)
  • Shitij Kumar (@spk4422)
  • Mazin Ali (@mazinms)