Aucune description

Duan bd123fa23c modified: README.md il y a 1 an
.gitignore e44e815feb update .gitignore il y a 1 an
Makefile e44e815feb update .gitignore il y a 1 an
README.md bd123fa23c modified: README.md il y a 1 an
data_logger.py 0bb57d5277 Modified callback type. il y a 1 an
rb_lidar.c e44e815feb update .gitignore il y a 1 an
rb_lidar.h e44e815feb update .gitignore il y a 1 an
rblidar.py e44e815feb update .gitignore il y a 1 an

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 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)