Skip to main content
用户可以通过输入自然语言命令与机器人交互,例如 “Go to the office to check the person.”。然后机器人会自动前往指定位置并按照指示执行目标检测任务。 下图展示了运行远程助手示例的自主移动机器人(AMR):
Simulated office in Gazebo where the robot navigates to a desk area while a terminal logs the navigation goal and the detection task.

模拟办公环境中的远程助手运行结果。

管道流程

下图展示了 simulation_remote_assistant 的管道:
Pipeline in three stages: build map, navigation preparation, and task execution with the YOLO object detection nodes.

simulation-remote-assistant 管道。

simulation_remote_assistant 管道中使用的 ROS 节点

下表描述了 simulation_remote_assistant 管道中使用的 ROS 节点。

simulation_remote_assistant 管道中使用的 ROS 话题

下表描述了 simulation_remote_assistant 管道中使用的 ROS 话题。

前提条件

你已根据安装 QIR SDK完成设备设置,并在设备上安装了 ROS2 Jazzy 和 Qualcomm Intelligent Robotics (QIR) SDK。

开箱即用运行 simulation_remote_assistant

1

在主机上设置仿真示例环境

a. 根据 qrb_ros_simulation 的 README 准备仿真环境。b. 设置仿真办公环境。
Set up environment
Launch the simulation office world
2

安装 simulation-remote-assistant 包

3

下载 yolo 目标检测模型

a. 根据 qrb_ros_tensor_process 的 README 构建并下载 yolo 模型。b. 运行以下命令:
Prepare the model and move to the default model path
4

在设备上运行远程助手示例

a. 设置环境并运行 map_nav_setup.launch.py 脚本进行自动建图。
Set up the environment
Launch the map_nav_setup.launch.py scripts
b. 启动 yolo 目标检测脚本。
c. 运行 task manager 以解析位置和目标。
d. 在终端中输入任务命令。

从源码构建 simulation_remote_assistant

当你需要修改示例代码时,可以从源码构建 simulation_remote_assistant。设备端步骤包括安装依赖、克隆源码仓库和构建包。

设备步骤

1

安装依赖

2

从 qrb-ros-sample 仓库下载源码

3

从源码构建示例

4

运行并测试示例

根据开箱即用运行 simulation_remote_assistant 的步骤 2-4 运行并测试。