GithubHelp home page GithubHelp logo

ardupilot / plotjuggler-apbin-plugins Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 9.0 72 KB

ArduPilot Dataflash plugin for Plotjuggler

License: GNU Lesser General Public License v3.0

CMake 6.13% C++ 93.87%

plotjuggler-apbin-plugins's Introduction

plotjuggler-apbin-plugins

This repository contains ArduPilot Dataflash plugin for PlotJuggler.

Install PlotJuggler

To build any plugin for PlotJuggler, PlotJuggler must be installed on your system. For detailled instructions on how to install PlotJuggler please have a look at the Installation section of the PlotJuggler repository.

If you have ROS installed, you can install PlotJuggler using:

sudo apt install ros-$ROS_DISTRO-plotjuggler-ros

Install plotjuggler-apbin-plugin

The installation of the plotjuggler-apbin-plugin is straightforward.

  1. Clone the repository:

    git clone https://github.com/khancyr/plotjuggler-apbin-plugins
    
  2. Install the dependencies:
    The plugin uses Qt as dependency. Since PlotJuggler also depends on Qt, chances are high that you already have it installed. On Ubuntu Qt can be installed with:

    sudo apt -y install qtbase5-dev libqt5svg5-dev
    
  3. Compile using cmake:

    mkdir build; cd build
    cmake ..
    make
    sudo make install
    

If you run sudo make install the plugin gets installed to /usr/local/bin/.
Remember that PlotJuggler needs to find the plugin files at startup. Therefore make sure that the folder containing the plugin files is added to PlotJuggler in the settings. Check App->Preferences->Plugins in PlotJuggler to learn more.

Configuration

If you want the units to be displayed in PlotJuggler, you need to edit dataload_apbin.cpp and activate #define LABEL_WITH_UNIT.
Be carefull:
This is not a nice solution because the units are simply appended to the field names. This renders your already created visualization layouts unusable. It would be a better solution if PlotJuggler supported unit handling directly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.