AddRoom
Service type: map_manager/srv/AddRoom
Service name: ${MM}/add_room
Description
Add a new room.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
room | map_manager/msg/Room | Room data. |
Response
| Field | Type | Description |
|---|---|---|
success | bool | Whether the operation succeeded. |
message | string | Result details or an error message. |
room_id | string | Unique room identifier. |
Examples
Example 1
Bash
ros2 service call ${MM}/add_room map_manager/srv/AddRoom \
"{floor_id: '1F'}"