Skip to main content
Robot running the follow_me application as it detects a person and drives to keep pace behind them.

follow_me 的管道流程

下图展示了 follow_me 的管道流程。
The follow_me pipeline from Orbbec camera color and depth streams through detection to velocity commands on the cmd_vel topic.

follow_me 管道。

follow_me 管道中使用的 ROS 节点

下表列出了 follow_me 管道中使用的 ROS 节点,并说明了每个节点的功能。

follow_me 管道中使用的 ROS 话题

下表列出了 follow_me 管道中使用的 ROS 话题,以及每个话题的消息类型和发布者。

前提条件

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

开箱即用运行 follow_me

1

安装依赖

Add the package repositories
2

安装 sample_apriltag 包

Install the packages
3

下载模型文件

Download and install the model files
4

设置机器人底座

  • 如果你使用 Qualcomm 的机器人底座,请对其进行设置。
  • 如果你使用自定义或第三方机器人底座,请应用适合你自己机器人底座的配置。确保机器人底座能够在 /odom 话题上发布类型为 nav_msgs.msg.Odometry2 的里程计数据。
5

在新终端中设置 Orbbec 摄像头

Launch the Orbbec camera
6

运行 follow_me 二进制文件

Run follow_me

构建并运行 follow_me

此示例应用仅供 已授权 用户使用。如果你想获取源代码,请参阅 Working with Qualcomm。
1

安装依赖

Install the dependencies
2

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

Clone the sample repository
3

从源码构建示例

Build the sample
4

运行并测试

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