Remove snap installed PlotJuggler (#20989)

* use our compiled plotjuggler

* update readme

* update readme
pull/20995/head
ShaneSmiskol 4 years ago committed by GitHub
parent 4d2781b79e
commit f3d41de9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      tools/plotjuggler/README.md
  2. 2
      tools/plotjuggler/juggle.py

@ -4,14 +4,10 @@ We've extended [PlotJuggler](https://github.com/facontidavide/PlotJuggler) to pl
## Installation ## Installation
Once you've cloned openpilot, install our plugin with this command: Once you've cloned and are in openpilot, download PlotJuggler and install our plugins with this command:
`cd tools/plotjuggler && ./install.sh` `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 ## Usage
``` ```
@ -36,7 +32,7 @@ Example:
`./juggle.py "0982d79ebb0de295|2021-01-17--17-13-08"` `./juggle.py "0982d79ebb0de295|2021-01-17--17-13-08"`
### Streaming ## Streaming
To get started exploring and plotting data live in your car, you can start PlotJuggler in streaming mode: `./juggle.py --stream`. To get started exploring and plotting data live in your car, you can start PlotJuggler in streaming mode: `./juggle.py --stream`.

@ -27,7 +27,7 @@ def load_segment(segment_name):
def start_juggler(fn=None, dbc=None, layout=None): def start_juggler(fn=None, dbc=None, layout=None):
env = os.environ.copy() env = os.environ.copy()
env["BASEDIR"] = BASEDIR env["BASEDIR"] = BASEDIR
pj = os.getenv("PLOTJUGGLER_PATH", "plotjuggler") pj = os.getenv("PLOTJUGGLER_PATH", os.path.join(juggle_dir, "bin/plotjuggler"))
if dbc: if dbc:
env["DBC_NAME"] = dbc env["DBC_NAME"] = dbc

Loading…
Cancel
Save