SubmapTexture.msg¶
Overview¶
SubmapTexture.msg carries the occupancy grid texture of a submap slice, along with its dimensions, resolution, and pose.
Fields¶
Field |
Type |
Description |
|---|---|---|
|
|
The raw occupancy data, stored row-major with one byte per cell. |
|
|
The width of the texture in cells. |
|
|
The height of the texture in cells. |
|
|
The resolution of the texture in meters per cell. |
|
|
The pose of the submap slice in the map frame. |
Usage¶
The texture is returned by
SubmapQuery.srvinside itstexturesarray.To render the texture, interpret each byte in
cellsas a grid cell occupancy value (higher values indicate more occupied).slice_poseallows the consumer to position the texture correctly relative to the map frame.