Skip to main content

GetRoom

Service type: map_manager/srv/GetRoom

Service name: ${MM}/get_room

Description

Return the specified room.

Request

FieldTypeDescription
floor_idstringUnique floor identifier.
idstringUnique identifier.

Response

FieldTypeDescription
roommap_manager/msg/RoomRoom data.
successboolWhether the operation succeeded.
messagestringResult 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'}"