跳到主要内容

RemoveAllSemanticObjects

服务类型: map_manager/srv/RemoveAllSemanticObjects

服务名: ${MM}/remove_all_semantic_objects

描述​

删除所有语义对象(可按楼层和类型过滤)

请求 (Request)​

字段类型描述
floor_idstring楼层唯一标识
object_typestring对象类型过滤器

响应 (Response)​

字段类型描述
successbool操作是否成功
messagestring结果消息或错误信息
countint32操作影响的项目数量

使用示例​

命令行调用​

Bash
ros2 service call ${MM}/remove_all_semantic_objects map_manager/srv/RemoveAllSemanticObjects \
"{floor_id: '1F', object_type: ''}"