跳到主要内容

GetDangerousArea

服务类型: map_manager/srv/GetDangerousArea

服务名: ${MM}/get_dangerous_area

描述

获取指定限速区信息

请求 (Request)

字段类型描述
floor_idstring楼层唯一标识
idint32唯一标识符

响应 (Response)

字段类型描述
areamap_manager/msg/DangerousArea区域数据
area_floor_idstring区域所在楼层 ID
successbool操作是否成功
messagestring结果消息或错误信息

使用示例

命令行调用

Bash
ros2 service call ${MM}/get_dangerous_area map_manager/srv/GetDangerousArea \
"{floor_id: '1F', id: 'example_id'}"