Skip to main content

GetForbiddenArea

Service type: map_manager/srv/GetForbiddenArea

Service name: ${MM}/get_forbidden_area

Description

Return the specified forbidden area.

Request

FieldTypeDescription
floor_idstringUnique floor identifier.
idint32Unique identifier.

Response

FieldTypeDescription
areamap_manager/msg/ForbiddenAreaArea data.
area_floor_idstringIdentifier of the floor containing the returned area.
successboolWhether the operation succeeded.
messagestringResult details or an error message.

Examples

Example 1

Bash
ros2 service call ${MM}/get_forbidden_area map_manager/srv/GetForbiddenArea \
"{floor_id: '1F', id: 'example_id'}"