# LakiBeam SDK - Linux C/Python Hybrid programming radar data interface ## Project profile LakiBeam SDK is a Linux-based cross-language (C/Python) radar data receiving and processing library designed for real-time radar 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 - ctypes - numpy - matplotlib ### Installing You can install ctypes、numpy and matplotlib using `pip`: ```sh $ pip install ctypes numpy matplotlib ``` Or for Python 3: ```sh $ sudo pip3 install ctypes numpy matplotlib ``` ## Compile and build ### Makefile The project provides makefiles to simplify the compilation and build process: # Common command make # 编译C库 make clean # 清理编译产生的文件 python3 rblidar.py # 编译Python接口测试 ## Troubleshooting · Ensure all dependencies are installed · Check library path and permissions · Verify network configuration for UDP communication ## Usage example from rblidar import RBLidar def data_callback(data, length): print(f"Received data, length: {length}") lidar = RBLidar("192.168.8.1", 2368, frame_callback=data_callback)