Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ This repository contains the [ArduPilot Dataflash](https://ardupilot.org/copter/
To build any plugin for PlotJuggler, PlotJuggler must be installed on your system.
For detailed instructions on how to install PlotJuggler please have a look at the [Installation](https://github.com/facontidavide/PlotJuggler#installation) section of the PlotJuggler repository.

If you have ROS installed, you can install PlotJuggler using:
If you have ROS installed and use rosdep, you can install dependencies automatically:

sudo apt install ros-$ROS_DISTRO-plotjuggler-ros
rosdep install --from-paths . --ignore-src

## (Optional) Build plotjuggler-apbin-plugin

Expand Down Expand Up @@ -59,13 +59,12 @@ Once compilation is finished, you will find your `.so` plugin in the `artifacts`

2. If you want the units to be displayed in PlotJuggler (read at the end), you need to edit `dataload_apbin.cpp` and activate `#define LABEL_WITH_UNIT`.

3. Compile using cmake:
3. Compile and install using CMake:

```
mkdir build; cd build
cmake ..
make
sudo make install
cmake -B build
cmake --build build
sudo cmake --install build
```

## Install plotjuggler-apbin-plugin
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>

<depend>plotjuggler_ros</depend>
<depend>plotjuggler</depend>

<!-- The export tag contains other, unspecified, tags -->
Expand Down