ListRooms
Service type: map_manager/srv/ListRooms
Service name: ${MM}/list_rooms
Description
List rooms.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
Response
| Field | Type | Description |
|---|---|---|
rooms | map_manager/msg/Room[] | List of rooms. |
success | bool | Whether the operation succeeded. |
message | string | Result details or an error message. |
Examples
Example 1
Bash
ros2 service call ${MM}/list_rooms map_manager/srv/ListRooms \
"{floor_id: '1F'}"