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

Revision history [back]

click to hide/show revision 1
initial version

I don't have sample code, but my interpretation of the message semantics are as follows:

  • Cell (0, 0) is at info.origin.
  • Cell (i, j) is at (info.resolution * i, info.resolution * j) transformed by info.origin
  • Cell (i, j) can be found in data[j + i * info.width]