Skip to main content

AddRoom

Service type: map_manager/srv/AddRoom

Service name: ${MM}/add_room

Description

Add a new room.

Request

FieldTypeDescription
floor_idstringUnique floor identifier.
roommap_manager/msg/RoomRoom data.

Response

FieldTypeDescription
successboolWhether the operation succeeded.
messagestringResult details or an error message.
room_idstringUnique room identifier.

Examples

Example 1

Bash
ros2 service call ${MM}/add_room map_manager/srv/AddRoom \
"{floor_id: '1F'}"