|
|
vor 1 Jahr | |
|---|---|---|
| .gitignore | vor 1 Jahr | |
| Makefile | vor 1 Jahr | |
| README.md | vor 1 Jahr | |
| data_logger.py | vor 1 Jahr | |
| rb_lidar.c | vor 1 Jahr | |
| rb_lidar.h | vor 1 Jahr | |
| rblidar.py | vor 1 Jahr |
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:
First, build the .so library using make:
$ make
· 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)