Ask Your Question

PDF or image export in RViz

asked 2021-03-11 01:54:32 -0500

Py gravatar image

Is it possible to export a PDF or image in RViz? I'd basically like to output the map created somehow.

Any ideas on how to achieve this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-03-15 14:21:43 -0500

rviz is a data visualizer that subscribes to published topics and help us visualize them. You therefore need some way to publish your image. You can write a script to do this or use tool like image_publisher.

edit flag offensive delete link more

answered 2021-03-15 13:15:14 -0500

tfoote gravatar image

If you want to capture a map there's a tool to do that called map_saver in the map server packages

edit flag offensive delete link more


Do you know of anything that could capture the map as well as markers?

Py gravatar image Py  ( 2021-03-15 14:16:45 -0500 )edit

If you're looking for images of the composite/overlay you see on the screen you can capture that via screencapture. If you want to replay it/interact you likely want to record the raw data and replay it to be able to interact with it during the playback.

tfoote gravatar image tfoote  ( 2021-03-16 18:54:33 -0500 )edit

I've just noticed the Save Image option in the RVizFile menu. Is this what you mean? The output from this is actually perfect but I'd need to be able to do it programmatically. Any idea how?

Py gravatar image Py  ( 2021-03-18 10:45:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-03-11 01:54:32 -0500

Seen: 66 times

Last updated: Mar 15