UpdateForbiddenArea
Service type: map_manager/srv/UpdateForbiddenArea
Service name: ${MM}/update_forbidden_area
Description
Update the specified forbidden area.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
area | map_manager/msg/ForbiddenArea | Area data. |
Response
| Field | Type | Description |
|---|---|---|
success | bool | Whether the operation succeeded. |
message | string | Result details or an error message. |
wall_ids | int32[] | Identifiers of the generated virtual walls. |
Examples
Example 1
Bash
ros2 service call ${MM}/update_forbidden_area map_manager/srv/UpdateForbiddenArea \
"{floor_id: '1F'}"