GetForbiddenArea
Service type: map_manager/srv/GetForbiddenArea
Service name: ${MM}/get_forbidden_area
Description
Return the specified forbidden area.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
id | int32 | Unique identifier. |
Response
| Field | Type | Description |
|---|---|---|
area | map_manager/msg/ForbiddenArea | Area data. |
area_floor_id | string | Identifier of the floor containing the returned area. |
success | bool | Whether the operation succeeded. |
message | string | Result 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'}"