UpdateDangerousArea
Service type: map_manager/srv/UpdateDangerousArea
Service name: ${MM}/update_dangerous_area
Description
Update the specified speed-restricted area.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
area | map_manager/msg/DangerousArea | Area data. |
Response
| Field | Type | Description |
|---|---|---|
success | bool | Whether the operation succeeded. |
message | string | Result details or an error message. |
Examples
Example 1
Bash
ros2 service call ${MM}/update_dangerous_area map_manager/srv/UpdateDangerousArea \
"{floor_id: '1F'}"