openpilot/tools/plotjuggler
George Hotz 636a89b48e support file in juggle.py 2021-05-05 12:15:48 -07:00
..
.gitignore juggle: gitignore leftover rlog files 2021-02-25 18:40:19 +01:00
README.md Update README.md 2021-03-04 15:01:40 -08:00
demo_layout.xml Fix warning popup for file not found, batman. (#20364) 2021-03-16 19:31:24 -07:00
install.sh PlotJuggler CI with build from source (#20166) 2021-02-26 17:14:37 -08:00
juggle.py support file in juggle.py 2021-05-05 12:15:48 -07:00
test_plotjuggler.py increasing time for PlotJuggler CI 2021-03-23 21:33:31 -07:00

README.md

PlotJuggler

We've extended PlotJuggler to plot all of your openpilot logs. Check out our plugin: https://github.com/commaai/PlotJuggler.

Installation

Once you've cloned openpilot, install our plugin with this command:

cd tools/plotjuggler && ./install.sh

Usage requires an installation of PlotJuggler. On systems with snap (e.g. Ubuntu), you can install PlotJuggler with this command:

sudo snap install plotjuggler

Usage

batman@z840-openpilot:~/openpilot/tools/plotjuggler$ ./juggle.py -h
usage: juggle.py [-h] [--qlog] [--layout [LAYOUT]] [route_name] [segment_number]

PlotJuggler plugin for reading rlogs

positional arguments:
  route_name         The name of the route that will be plotted. (default: None)
  segment_number     The index of the segment that will be plotted (default: None)

optional arguments:
  -h, --help         show this help message and exit
  --qlog             Use qlogs (default: False)
  --layout [LAYOUT]  Run PlotJuggler with a pre-defined layout (default: None)

Example:

./juggle.py "0982d79ebb0de295|2021-01-17--17-13-08"

Demo:

For a quick demo, go through the installation step and run this command:

./juggle.py "https://commadataci.blob.core.windows.net/openpilotci/d83f36766f8012a5/2020-02-05--18-42-21/0/rlog.bz2" --layout=demo_layout.xml

screenshot