ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to create/display a static voxel_grid map?

asked 2018-01-05 12:16:32 -0500

seanarm gravatar image

I've searched quite a bit, and to no avail, for a modern, minimal example of creating a static voxel map and displaying that map in rviz. Most tutorials have incomplete steps, or aim at map creation within the whole navigation environment. Without sensors or navigation infrastructure, I wish to load a pre-existing global voxel map and display that in rviz. Is 3D map creation and publication possible without providing sensor sources? I was able to do this through map_server in 2D by providing a BMP file.

This video is a nice example of what I'd like to display, but they're clearly using sensor input.

edit retag flag offensive close merge delete


What tutorials are you referring to?

jayess gravatar image jayess  ( 2018-01-05 12:47:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-05 12:26:25 -0500

You could do this using octomap, it's designed to update the map with point clouds from sensors but you could add a single point cloud containing your map at the start then keep this initial map for the duration of your experiment.

What format have you got the 3D map in that you want to display in rviz?

edit flag offensive delete link more

Question Tools



Asked: 2018-01-05 12:16:32 -0500

Seen: 634 times

Last updated: Jan 05 '18