GetRoom
Service type: map_manager/srv/GetRoom
Service name: ${MM}/get_room
Description
Return the specified room.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
id | string | Unique identifier. |
Response
| Field | Type | Description |
|---|---|---|
room | map_manager/msg/Room | Room data. |
success | bool | Whether the operation succeeded. |
message | string | Result details or an error message. |
Examples
Example 1
Bash
ros2 service call ${MM}/get_room map_manager/srv/GetRoom \
"{floor_id: '1F', id: 'example_id'}"