#driver #lidar #sdk #slam #livox

livox2

A lightweight and pure Rust implementation of Livox SDK2, based on async-net and zerocopy

5 releases

Uses new Rust 2024

0.2.2 Nov 19, 2025
0.2.1 Nov 15, 2025
0.2.0 Nov 15, 2025
0.1.1 Jul 31, 2025
0.1.0 Jul 30, 2025

#609 in Hardware support

MIT license

43KB
942 lines

Overview

livox2 is a pure Rust library for interfacing with Livox LiDAR devices. This crate provides the lidar_port API, and each port is actually a lidar data flow, like the point cloud port.

Usage

To initialize the lidar data ports, see lidar_port::LidarPortConfig new methods to help you build the data ports.

Or you can create the device port instances by yourself, see also lidar_port sub-modules.

Once you have the device port instances, you can call next_packet_ref method to receive the corresponding data packets.

Example

See also example


Livox2

Overview

livox2 is a pure Rust library for interfacing with Livox LiDAR devices. This crate provides the lidar_port API, and each port is actually a lidar data flow, like the point cloud port.

Usage

To initialize the lidar data ports, see lidar_port::LidarPortConfig new methods to help you build the data ports.

Or you can create the device port instances by yourself, see also lidar_port sub-modules.

Once you have the device port instances, you can call next_packet_ref method to receive the corresponding data packets.

Example

See also example

Dependencies

~3–17MB
~176K SLoC