livox2 0.2.2

A lightweight and pure Rust implementation of Livox SDK2, based on async-net and zerocopy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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](lidar_port::PointDataPort).

# 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`](lidar_port::PointDataPort::next_packet_ref) method to
receive the corresponding data packets.

# Example
See also [example](https://github.com/ZXY595/livox2-rs/tree/main/example)