Skip to main content

rplidar_ros 的管道流程

下图展示了 rplidar-ros2 示例的管道流程。该示例从 RPLIDAR SDK 获取驱动数据,然后发布 /scan 话题。
RPLIDAR hardware feeding the Rplidar SDK, which feeds the Rplidar ROS node that publishes the /scan topic.

rplidar_ros 管道。

rplidar-ros2 管道中使用的 ROS 话题

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

前提条件

  • 你已根据安装 QIR SDK完成设备设置,并在设备上安装了 ROS2 Jazzy 和 Qualcomm Intelligent Robotics (QIR) SDK。
  • 连接 RPLIDAR A3M1 的电源和 USB 端口。

开箱即用运行 rplidar-ros2

1

启动 lidar ROS 节点

Launch the lidar ROS node
2

获取该节点的话题

List the ROS topics
3

在另一个终端中回显 scan 话题

Echo the scan topic
Terminal log from the RPLIDAR launch file reporting the RPLIDAR S/N, firmware and hardware revision, health status OK, and a 10 Hz scan frequency.