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

[feature request] record rosbag file of specific topics and export to local system #324

Open
flynneva opened this issue Jan 13, 2020 · 6 comments

Comments

@flynneva
Copy link

I'm not sure if this exists yet but it would be awesome to be able to export to a rosbag from webviz.
Selecting specific topics would be cool as well.

@janpaul123
Copy link
Contributor

janpaul123 commented Jan 14, 2020

Interesting, what is the use case that you have in mind? Are you thinking of recording data over a websocket and then storing it in a bag, as an alternative to rosbag record? Or would you want to slice existing bags, as an alternative to rosbag filter?

@flynneva
Copy link
Author

the real benefit I see for webviz in general is it is a quick-and-easy way for non-ROS user's to get their hands on data. for instance if webviz could record data then I could be messing with a sensor in a lab, see something cool as far as performance/testing/etc. and then want to share it with other people. if webviz could do rosbag record then I could shoot someone a URL with my websockets address + port and then they could immediately see what I was seeing. same goes for ros parameters too...if we could add that functionality then you could set up a room full of different sensors, all connected to a network and then have algo/SW people remote "login" and collect data for the most up-to-date firmware.

I would lean more towards a rosbag record webviz panel where you could select specific topics to record and the location to save it to. you could even add an option to save it to some cloud datastore for others to easily see...instead of saving it locally then having to upload the local file to the cloud datastore once its done.

@jtbandes
Copy link
Contributor

I'm not sure how this part is related to recording:

if webviz could do rosbag record then I could shoot someone a URL with my websockets address + port and then they could immediately see what I was seeing

can't you do that already by having them use webviz with the same configuration, pointed at the same server you're currently looking at?

@flynneva
Copy link
Author

flynneva commented Jan 15, 2020

yeah sorry I forgot to add "and they could take a recording from there desk". right now the way that this would work would be then they would tell me to take a recording...then I would have to upload it somewhere for them to get it.

@janpaul123
Copy link
Contributor

Cool, that makes a lot of sense, I like that vision. One blocker for this is using the raw ROS messages over the websocket, which we can work on once this gets released: RobotWebTools/rosbridge_suite#452

@janpaul123
Copy link
Contributor

Alright, cbor-raw has landed in webviz with #396, so this should be possible to do now, though still not super straightforward since panels don't yet have access to the raw binary data. We'll have to do that for some other optimizations soon though.

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

No branches or pull requests

3 participants