Skip to content

Software

RoboSense rs_driver

By RoboSense (Suteng Innovation Technology Co., LTD), China (checked on github.com/RoboSense-LiDAR (opens in a new tab)), from github.com/RoboSense-LiDAR/rs_driver (opens in a new tab)

  • Perception
  • Driver or SDK
  • BSD-2-Clause

A driver library that receives and decodes point cloud data from RoboSense LiDAR sensors, either from a live device or from recorded PCAP files.

Facts

GitHub stars
274read on 29 Nov 2026
Last update
10 Jul 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Intermediate
Hardware it needs, as the project states it
Ubuntu 16.04, 18.04, 20.04 or 22.04 with gcc 4.8+, or Windows with MSVC (tested on Win10 and VS2019); a compiler supporting C++14 is needed. Optional dependencies are libpcap, Eigen3, PCL and Boost. A RoboSense LiDAR is needed for online use.

Checked on GitHub on 29 Nov 2026.

Licenses

Code
BSD-2-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-2-Clause) at commit 897b14d (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Connects to supported RoboSense LiDARs over the network and outputs decoded point clouds.
  • Parses PCAP capture files to produce point clouds from recorded LiDAR data.
  • Supports a long list of RoboSense LiDAR models, including mechanical, solid-state and hybrid types.
  • Can optionally transform point clouds and build a PCL-based visualization tool.
  • Is written in C++ and intended to be integrated into other systems as a library, via CMake or as a submodule.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-2-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 10 Jul 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 897b14d

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by RoboSense (Suteng Innovation Technology Co., LTD), at commit 897b14d, under BSD-2-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

1 rs_driver

中文介绍 (opens in a new tab)

1.1 Introduction

rs_driver is the driver kernel for the RoboSense LiDARs.

Please download the official release from github (opens in a new tab), or get the latest version with the git client tool.

git clone https://github.com/RoboSense-LiDAR/rs_driver.git
1.2 Supported LiDARs

Below are the supported LiDARS.

  • RS-LiDAR-16
  • RS-LiDAR-32
  • RS-Bpearl
  • RS-Helios
  • RS-Helios-16P
  • RS-Ruby-128
  • RS-Ruby-80
  • RS-Ruby-48
  • RS-Ruby-Plus-128
  • RS-Ruby-Plus-80
  • RS-Ruby-Plus-48
  • RS-LiDAR-M1
  • RS-LiDAR-M2
  • RS-LiDAR-M3
  • RS-LiDAR-E1
  • RS-LiDAR-MX
  • RS-LiDAR-EMX
  • RS-LiDAR-AIRY
  • RS-LiDAR-AIRYLITE-ETH
  • RS-LiDAR-FAIRY
1.3 Supported Platforms

rs_driver is supported on the following platforms and compilers. Note the compiler should support C++14.

  • Ubuntu (16.04, 18.04, 20.04, 22.04)

    • gcc (4.8+)
  • Windows

    • MSVC ( tested with Win10 / VS2019)
1.4 Dependency Libraries

rs_driver depends on the following third-party libraries.

  • libpcap (optional, needed to parse PCAP file)
  • Eigen3 (optional, needed to use the internal transformation function)
  • PCL (optional, needed to build the visualization tool)
  • Boost (optional, needed to build the visualization tool)
1.5 Compile On Ubuntu
1.5.1 Dependency Libraries
sudo apt-get install libpcap-dev libeigen3-dev libboost-dev libpcl-dev
1.5.2 Compilation
cd rs_driver
mkdir build && cd build
cmake .. && make -j4
1.5.3 Installation
sudo make install
1.5.4 Use rs_driver as a third party library

In your CMakeLists.txt, find the rs_driver package and link to it .

find_package(rs_driver REQUIRED)
include_directories(${rs_driver_INCLUDE_DIRS})
target_link_libraries(your_project ${rs_driver_LIBRARIES})
1.5.5 Use rs_driver as a submodule

Add rs_driver into your project as a submodule.

In your CMakeLists.txt, find the rs_driver package and link to it .

add_subdirectory(${PROJECT_SOURCE_DIR}/rs_driver)
find_package(rs_driver REQUIRED)
include_directories(${rs_driver_INCLUDE_DIRS})
target_link_libraries(your_project ${rs_driver_LIBRARIES})
1.6 Compile On Windows
1.6.1 Dependency Libraries
1.6.1.1 libpcap

Install libpcap runtime library (opens in a new tab).

Unzip libpcap's developer's pack (opens in a new tab) to your favorite location, and add the path to the folder WpdPack_4_1_2/WpdPack to the environment variable PATH .

1.6.1.2 PCL

To compile with VS2019, please use the official installation package PCL All-in-one installer (opens in a new tab).

Select the "Add PCL to the system PATH for xxx" option during the installation. Picture: 01_01_install_pcl.png

1.6.2 Installation

Installation is not supported on Windows.

1.7 Quick Start

rs_driver offers two demo programs in rs_driver/demo.

  • demo_online.cpp

    demo_online connects to online lidar, and output point cloud.

  • demo_pcap.cpp

    demo_pcap parses pcap file, and output point cloud. It is based on libpcap.

To build demo_online and demo_pcap, enable the CMake option COMPILE_DEMOS.

cmake -DCOMPILE_DEMOS=ON ..

For more info about demo_online, Please refer to Decode online LiDAR (opens in a new tab)

For more info about demo_pcap, Please refer to Decode pcap file (opens in a new tab)

1.8 Visualization of Point Cloud

rs_driver offers a visualization tool rs_driver_viwer in rs_driver/tool , which is based on PCL.

To build it, enable the CMake option CMOPILE_TOOLS.

cmake -DCOMPILE_TOOLS=ON ..

For more info about rs_driver_viewer, please refer to Visualization tool guide (opens in a new tab)

1.9 API files

For more info about the rs_driver API, Please refer to:

  • Point Cloud message definition: rs_driver/src/rs_driver/msg/point_cloud_msg.hpp, rs_driver/src/rs_driver/msg/pcl_point_cloud_msg.hpp
  • API definition: rs_driver/src/rs_driver/api/lidar_driver.hpp
  • Parameters definition: rs_driver/src/rs_driver/driver/driver_param.hpp,
  • Error code definition: rs_driver/src/rs_driver/common/error_code.hpp
1.10 More Topics

For more topics, Please refer to:

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.