GetDangerousArea
Service type: map_manager/srv/GetDangerousArea
Service name: ${MM}/get_dangerous_area
Description
Return the specified speed-restricted area.
Request
| Field | Type | Description |
|---|---|---|
floor_id | string | Unique floor identifier. |
id | int32 | Unique identifier. |
Response
| Field | Type | Description |
|---|---|---|
area | map_manager/msg/DangerousArea | 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_dangerous_area map_manager/srv/GetDangerousArea \
"{floor_id: '1F', id: 'example_id'}"