Skip to main content

GetDangerousArea

Service type: map_manager/srv/GetDangerousArea

Service name: ${MM}/get_dangerous_area

Description

Return the specified speed-restricted area.

Request

FieldTypeDescription
floor_idstringUnique floor identifier.
idint32Unique identifier.

Response

FieldTypeDescription
areamap_manager/msg/DangerousAreaArea 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_dangerous_area map_manager/srv/GetDangerousArea \
"{floor_id: '1F', id: 'example_id'}"