# LakiBeam SDK - Linux C/Python Hybrid data interface for Richbeam Laki-Series lidars. ## Project profile 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. ## Characteristics - 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 ## Environmental dependence - Linux - GCC compiler - Python 3.x ## Dependency library - numpy ### Installing You can install numpy using `pip`: ```sh $ pip install numpy ``` ## Compile and build ### Makefile The project provides makefiles to simplify the compilation and build process: ### Build First, build the .so library using `make`: ```sh $ make ``` ### Troubleshooting · Ensure all dependencies are installed · Check library path and permissions · Verify network configuration for UDP communication ### Usage example ```python 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) ```