GithubHelp home page GithubHelp logo

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.

plotjuggler-apbin-plugins's People

Contributors

facontidavide avatar jwithelm avatar khancyr avatar

Stargazers

Junwoo Hwang avatar Clyde McQueen avatar Paul Erik Frivold avatar Dallin Briggs avatar Pradeep avatar TioeAre avatar zihao avatar wang-fugui avatar  avatar Oğuz Özdemir avatar Mirko Denecke avatar Newton Musyimi avatar  avatar Rishabh Singh avatar George Zogopoulos-Papaliakos avatar

Watchers

 avatar George Zogopoulos-Papaliakos avatar  avatar  avatar

plotjuggler-apbin-plugins's Issues

Qt5 Concurrent linking error

OS: Ubuntu 22.04 running on WSL
Plotjuggler: Ros Humble installation
Qt5 Concurrent: libqt5concurrent5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed]

Issue:
When running cmake, I get the following error:

CMake Error at CMakeLists.txt:82 (add_library):
  Target "DataAPBin" links to target "Qt5::Concurrent" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

I was able to get past this by adding a find_package call for Qt5 concurrent.

PlotJuggler v3.9.1 Crashes when loading .bin log

Hi.

I have sucessfully built the ardupilot plugin for PlotJuggler. When I load a dataflash log, the PlotJuggler program crashes without warning after the load screen reaches 100%.

Setup:

ubuntu 20.04
PlotJuggler 3.9.1

image

for reference, the exact error message that I see:

plotjuggler: symbol lookup error: /home/jono/Carbonix/plotjuggler-apbin-plugins/build/libDataAPBin.so: undefined symbol: _ZN2PJ14PlotDataMapRef10addNumericERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrINS_9PlotGroupEE

Could you please point me to steps to check to fix this incase I built the plugin incorrectly?

Thanks

4.1 log format changed

Log messages not contains Instance field and store data from multiple instances in the same message id.
For example XKF1 now contains log from all EKF lanes...

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.