LakiBeam SDK is a Linux-based cross-language (C/Python) lidar data receiving and processing library designed for real-time lidar data acquisition and processing.
Low-level implementation of C language in pure Linux environment
Python dynamic library call mechanism
UDP receives network data in real time
Multi-threaded data processing
Dual buffer design to improve data throughput
You can install numpy using pip:
$ pip install numpy
The project provides makefiles to simplify the compilation and build process:
make # Compile .so Library. make clean # Clean build files. python3 rblidar.py # Test rblidar.py
· Ensure all dependencies are installed · Check library path and permissions · Verify network configuration for UDP communication
from rblidar import RBLidar
def frame_callback(self, point_data_array):
print(f"Received data, length: {len(point_data_array)}.")
lidar = RBLidar("192.168.8.1", 2368, frame_callback=frame_callback)