暫無描述

Duan 12e2278422 modified: README.md 1 年之前
.gitignore e44e815feb update .gitignore 1 年之前
Makefile e44e815feb update .gitignore 1 年之前
README.md 12e2278422 modified: README.md 1 年之前
data_logger.py 0bb57d5277 Modified callback type. 1 年之前
rb_lidar.c e44e815feb update .gitignore 1 年之前
rb_lidar.h e44e815feb update .gitignore 1 年之前
rblidar.py e44e815feb update .gitignore 1 年之前

README.md

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:

$ pip install numpy

Compile and build

Makefile

The project provides makefiles to simplify the compilation and build process:

Common command

make # Compile .so Library. make clean # Clean build files. python3 rblidar.py # Test rblidar.py

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)