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

Revision history [back]

You can visualize the costmap with rviz by adding a Map element. The description here mentions that its in row-major order. If map.info.width is X, the first X elements of the data array are the first row, and then the second X elements are the second row, etc.