跳到主要内容

GetSemanticObject

服务类型: map_manager/srv/GetSemanticObject

服务名: ${MM}/get_semantic_object

描述

获取指定语义对象信息

请求 (Request)

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

响应 (Response)

字段类型描述
objectmap_manager/msg/SemanticObject语义对象数据
successbool操作是否成功
messagestring结果消息或错误信息

使用示例

命令行调用

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