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

How to display 2D probabilistic map in rviz?

asked 2014-08-27 17:39:51 -0500

t.pimentel gravatar image

I have a probability grid that I use as a map in my application.

How can I display this in rviz? Does the rviz map plugin supports probability values or only the states unknown, occupied and free?

Is there any other option on how can I show this map in an user friendly way?

I found this question here Rviz display 2d probabilistic map, but, since it's from February 2012, I wanted to get a more updated answer on this topic.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-28 08:43:57 -0500

jorge gravatar image

RViz can show nav_msgs/OccupancyGrid messages both as grayscale or with a color scheme. I think this is exactly what you need, given you can convert your probabilities to a 0..255 range.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-08-27 17:39:51 -0500

Seen: 1,040 times

Last updated: Aug 28 '14