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
[jiminy_py] Add option for plotter to compare several logfiles. #93
Conversation
Nice feature ! But why not just |
What do you think of being able to click of the legend on turn on/off the display of the logfiles ? |
I felt having a specific argument made the option clearer to the user (because it's documented by argparser). I would rather avoid mixing regex and logfiles, for clarity: that way you can understand the tool as taking
Otherwise I feel it's a bit more difficult to understand on what the regex apply: here you really give a specific role to the master logfile, and it's clearer to see -c as something you add on top of this. What do you think ? I'll have a look at the interactive legend thing. |
As you wish, I'm fine with it. It was just to better understand your point of view :) |
b8dfbe3
to
1364f17
Compare
resetProxies was not updating the model size, leading to issues when switching from rigid to flexible model.
@duburcqa Implemented interactive legend as you suggested. |
Sounds amazing ! Great work :) |
1364f17
to
edb58a2
Compare
@duburcqa I've merge the other two PRs into this one. I've mutualized a bit the version number in the setup files, I can change back if you disagreee. I didn't look for a way to mutialize it between both packages, but this is already a start. |
I realized that the change I made is only python3-compatible, perhaps I should roll back. From https://packaging.python.org/guides/single-sourcing-package-version/ , I found that |
I'm afraid the only robust way to do it is the Cmake configuration_file mechanism https://cmake.org/cmake/help/v3.2/command/configure_file.html. Doing this, setting the version tag in the main cmake would be enough. And it is compatible with any Python version. I will do it soon. About the dev branch, I think with should have one after all. |
185fc05
to
4a1ea96
Compare
Done ! Now there is a single entry point to set the version tag :) |
One of the main purpose I use jiminy for is to compare two simulations of the same system, with different parameters. In that context, I get two log files, with the same content (in terms of logged fields) and length.
This PR adds the capacity for
jiminy_plotter
to compare two or more logs, by plotting them on the same graph:jiminy_plotter logfile.data regex -c the_logs_I_want_to_compare_to.data
Feature preview: