跳到主要内容

RemoveForbiddenArea

服务类型: map_manager/srv/RemoveForbiddenArea

服务名: ${MM}/remove_forbidden_area

描述

删除指定禁区

请求 (Request)

字段类型描述
floor_idstring楼层唯一标识
area_idint32区域 ID

响应 (Response)

字段类型描述
successbool操作是否成功
messagestring结果消息或错误信息
walls_removedint32删除的虚拟墙数量

使用示例

命令行调用

Bash
ros2 service call ${MM}/remove_forbidden_area map_manager/srv/RemoveForbiddenArea \
"{floor_id: '1F', area_id: 0}"