Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Jan 9, 2024
1 parent d01a956 commit 153a9c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,22 +114,20 @@ Refer to the instructions in that repository if you want to compile PJ and its R

This massive file will install a version of PlotJuggler that can work with both ROS1 and ROS2.

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/plotjuggler)
![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)

To install it in Ubuntu 22.04, with ROS2 support, run:

```
sudo snap install plotjuggler
```

When launching you have two options available:
If you are still use ROS1 (Ubuntu 20.04), install instead:

- `plotjuggler.ros` to load the ROS1 plugins.
- `plotjuggler.ros2` to load the ROS2 plugins.
```
sudo snap install plotjuggler-ros
```

In addition, the command `plotjuggler` is an alias to `plotjuggler.ros`.
If you'd prefer to alias `plotjuggler.ros2` instead,
you can do so with the command `sudo snap set plotjuggler ros-plugin-version=2`.
Revert it simply replacing `2` with `1`.
Note that this also affect the desktop launcher.

## Compile from source

Expand Down
3 changes: 2 additions & 1 deletion snap_core20/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: plotjuggler-ros
adopt-info: plotjuggler-ros # parse metadata from the plotjuggler part
adopt-info: plotjuggler # parse metadata from the plotjuggler part
summary: The timeseries visualization tool that you deserve
description: |
QT5 based application to display time series in plots,
Expand Down Expand Up @@ -57,6 +57,7 @@ parts:
- libprotobuf-dev
- libzmq5
- libzstd1
- libpsm-infinipath1
override-pull: |
snapcraftctl pull
Expand Down

0 comments on commit 153a9c9

Please sign in to comment.