Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with PlotJuggler #850

Open
asasine opened this issue Jun 6, 2024 · 1 comment
Open

Compatibility with PlotJuggler #850

asasine opened this issue Jun 6, 2024 · 1 comment
Labels
type: enhancement Enhancement or feature request

Comments

@asasine
Copy link

asasine commented Jun 6, 2024

This might seem like a longshot but how would I go about supporting defmt logs in PlotJuggler? My idea is to bring the functionality similar to Arduino's Serial Plotter to defmt-based systems such that recurring logs with the same format, but differing values for a certain variable, can be plotted. I think PlotJuggler is a good choice as it's an incredibly powerful tool, already has plugin support, and is transport- and protocol-agnostic. Building upon that brings a lot of value to defmt-based systems without needing to build the entire plotting application from scratch.

@Urhengulas
Copy link
Member

probe-run did support a --json mode which might be handy here. You could build a script/tool/plugin the reads the json and feeds it into PlotJuggler. You can read about it here: https://defmt.ferrous-systems.com/json-output

The problem is that probe-rs does not support the json mode atm, but it should not be too hard to add it, since all the formatting logic is in defmt-decoder.

@Urhengulas Urhengulas added the type: enhancement Enhancement or feature request label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Enhancement or feature request
Projects
None yet
Development

No branches or pull requests

2 participants