SubmapQuery.srv¶
Overview¶
SubmapQuery.srv queries a single submap for its texture data. It returns the current version of the submap and an array of textures that can be rendered.
Request¶
Field |
Type |
Description |
|---|---|---|
|
|
The trajectory that the submap belongs to. |
|
|
The index of the submap within the trajectory. |
Response¶
Field |
Type |
Description |
|---|---|---|
|
|
The outcome of the request; check |
|
|
The current version of the submap. |
|
|
The texture slices of the submap. |
Usage¶
The pair
(trajectory_id, submap_index)uniquely identifies a submap.Consumers can cache the last seen
submap_versionand skip re-fetching when it has not changed.Each texture in
texturesfollows theSubmapTexture.msglayout.