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

How to plot from bag? #12

Open
mikepurvis opened this issue Oct 13, 2016 · 6 comments
Open

How to plot from bag? #12

mikepurvis opened this issue Oct 13, 2016 · 6 comments
Labels

Comments

@mikepurvis
Copy link

mikepurvis commented Oct 13, 2016

My plots are working great live, but I can't seem to plot from a bag.

There's some code here that looks like it accepts a multiplot-bag argument, but it's not clear how that argument is supplied. Looks like #10 addresses breaking it out to the Python wrapper, and in the meantime it seems something like this should work, but it's not doing right thing for me:

rqt --standalone rqt_multiplot --args --multiplot-bag path/to/my.bag

The only other place readBag is called looks like it's from a UI interaction, but there is commented out as well: https://github.com/ethz-asl/rqt_multiplot_plugin/blob/85f86a083eb47d5d8baefba168290b09fff333cf/rqt_multiplot/src/rqt_multiplot/MultiplotWidget.cpp#L109-L111

Is there something silly I'm missing here?

@samuelba
Copy link
Contributor

Currently, it's not possible to load a bag from the command line. But you can load a bag file from GUI. See the first image in the README.

I will investigate the command line option mentioned in #10.

@mikepurvis
Copy link
Author

Okay, I had tried that, but it didn't work for me either and I assumed it was due to the commented out section.

That might be due to us being pinned to an older version of rqt due to rqt_rviz, though. Will close until I've had a chance to confirm that there's a problem here when on all-public packages.

@samuelba
Copy link
Contributor

samuelba commented Oct 14, 2016

This video shows what should happen (master branch): https://www.youtube.com/watch?v=rtqPlc_Ze5o
Important is, that you have already configured your curves. Otherwise nothing happens.

The commented out section has nothing to do with the bag import from the GUI.

@samuelba samuelba reopened this Oct 14, 2016
@skohlbr
Copy link

skohlbr commented Oct 23, 2016

Just ran across the same issue. It's probably a good idea to document the need for prior curve configuration on the Readme (or make it possible to configure them when the bag is loaded ;) ).

@jcarius
Copy link

jcarius commented Jan 15, 2018

@samuelba is there still a plan to implement bag loading from the command line?

@samuelba
Copy link
Contributor

@jcarius unfortunately I have no time to work on this plugin at the moment, but I'm happy to review a pull request ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants