GithubHelp home page GithubHelp logo

yowidin / serial-plotter Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 7.03 MB

A handy replacement for the Arduino's Serial Plotter

CMake 4.01% Python 2.48% C++ 90.49% C 3.01%
conan cpp imgui implot sdl2

serial-plotter's Introduction

Serial Plotter build

A bit more feature-rich replacement for the Arduino's Serial Plotter.

About

After being annoyed by the Arduino Serial Plotters lack of functionality, and suffering from the critical NIH issue, I decided to write my own, as an exercise for the rusting C++ skills.
showcase

Usage

The recommended way is to download the pre-built binaries, alternatively you can build it from sources.

The later path will allow you to add some custom logic:

  • You can add a custom data generator by providing a data_change_cb to the data object via the set_data_change_callback and accessing the plot data via the datas get_plot_data method.
  • You can add custom graphs to the main plot by setting the draw_plot_cb callback (e.g.: ImPlot::Annotate).

Building

This project havily relies on conan for dependency management.

After installing conan, you will have to create a CMake cache, install dependencies and build the project:

$ git clone https://github.com/yowidin/serial-plotter.git
$ cd serial-plotter
$ mkdir cmake-build-debug
$ cd cmake-build-debug
$ conan install .. -b missing
$ conan build ..

Tech used

  • conan for dependency management.
  • CMake for generating a build system.
  • boost for async I/O and command line arguments parsing.
  • SDL2 for window and event management.
  • glad for an OpenGL loader generation.
  • imgui and implot for actual UI and plot rendering.

serial-plotter's People

Contributors

yowidin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

shalevy1

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.