Git Product home page Git Product logo

plotjuggler-can-dbs's Introduction

plotjuggler-CAN-dbs

Plugins to visualize CAN .dbs files and streams in PlotJuggler.

Using the plugins, One can;

  • Visualize CAN logs created by candump -L in PlotJuggler using a can database file (for ex. .dbc)
  • Visualize CAN streams

Prerequisites

  • Boost (1.72 or later)
  • libxml2
  • PlotJuggler (3.2 or later)
  • Qt5 SerialBus (Optional, required for DataStreamCAN)

Building the CAN plugins

To build any plugin, PlotJuggler must be installed in your system.

For instance, in Linux, you should perform a full compilation and installation:

git clone --recurse-submodules https://github.com/facontidavide/PlotJuggler.git
cd PlotJuggler
mkdir build; cd build
cmake ..
make -j
sudo make install

After successfull installation of PlotJuggler, one can build DataLoadCAN and DataStreamCAN plugins as follows.

git clone --recurse-submodules https://github.com/PlotJuggler/plotjuggler-CAN-dbs.git
cd plotjuggler-CAN-dbs
mkdir build; cd build
cmake ..
make

Using the plugins

After building the plugins, one needs to include build directory to the plugins directory of the PlotJuggler.

App -> Preferences -> Plugins

CanPluginInclude

DataLoadCAN

If DataLoadCAN plugin is loaded, you will be able to import .log files. Currently, no UI is developed, so in order to choose can database file (.dbc), another file dialog will be opened, select the database you want to use.

DataLoadCAN

DataStreamCAN

CAN Streamer plugin is only built if Qt5 SerialBus plugin is installed in your machine (surprisingly, it is not possible to install via apt on Ubuntu 18.04). If you want to use CAN Streamer plugin (and your machine does not have the plugin), you can check this gist for instructions on how to install Qt5 Serialbus.

When you start CAN Streamer plugin, a connect dialog will be opened as in the figures below. After choosing the correct backend and interface, one need to load CAN Database (.dbc only for now) to be able to start the streamer (OK button is disabled by default, it is enabled only when a database is loaded.).

DataStreamCAN

plotjuggler-can-dbs's People

Contributors

facontidavide avatar ozzdemir avatar

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.