# Enable basic RPLIDAR handling with `rplidar-ros2` The `rplidar-ros2` sample application provides basic device handling for the 2D laser scanner RPLIDAR A1/A2/A3/S1/S2/S3. ## Pipeline flow for `rplidar-ros2` The figure shows the pipeline of the rplidar-ros2 sample. The sample application gets the driver data from the `rplidar` SDK, and then publishes the `/scan` topic.
Rplidar
ROS node
Rplidar SDK
/scan
ROS node
Internal module
Topic
**Figure : rplidar-ros2 pipeline** ## ROS topics used in the `rplidar-ros2` pipeline | ROS topic | Message type | Published/Subscribed by | Description | | --- | --- | --- | --- | | `/scan` | `sensor_msgs::msg::LaserScan` | Published by `rplidar-ros2` | The `/scan` topic publishes the laser scan data from the RPLIDAR. | ## Prerequisites - You have **Set up the device** according to [Set up the environment for running sample applications](https://docs.qualcomm.com/doc/80-70033-265/topic/quick_start.html#setup-demo-qs). - Connect the power supply and USB port of RPLIDAR A3M1. ## Run out-of-the-box `rplidar-ros2` **Step** Start a terminal and run the following commands to set up the QIR SDK and ROS2 environment on the device and run `rplidar-ros2`. > > > ssh root@[ip-addr] > (ssh) mount -o remount,rw /usr > (ssh) source /usr/share/qirp-setup.sh > (ssh) ros2 launch rplidar_ros rplidar_a3_launch.py > Copy to clipboard Last Published: Sep 30, 2026 [Previous Topic Enable Orbbec Gemini 335L with orbbec\_camera](https://docs.qualcomm.com/bundle/publicresource/80-70033-265/topics/orbbec-camera_5_2_8.md) [Next Topic Publish system status with qrb\_ros\_system\_monitor](https://docs.qualcomm.com/bundle/publicresource/80-70033-265/topics/qrb-ros-system-monitor_5_2_6.md)