Skip to main content

Livox SDK2 Python

Brief Introduction

Livox SDK2 Python uses pybind11 to wrap some of the Livox SDK2 C++ interfaces into Python.

SDK compatibility

This release bundles Livox SDK2 1.3.3 (upstream commit 68ae1e1). It supports HAP, Mid-360, and Mid-360S (MID360S, MID-360S, or Mid360s in the YAML configuration).

Requirements

  • Ubuntu 20.04+ (other modern Linux distros should also work)
  • CMake ≥ 3.16, a C++17-capable compiler, and the Python development headers
  • Python ≥ 3.8

Install the native build toolchain before invoking pip:

sudo apt update
sudo apt install build-essential cmake python3-dev

Installation & Usage

Build and install the Python wheel (which compiles the livox_sdk extension) in one step:

pip install .

After the installation finishes, the livox console script becomes available and mirrors the historical samples/livox_python/start.py demo:

livox

The CLI continuously publishes point clouds / IMU data at the configured pub_rate_hz until you press Ctrl+C. To temporarily override the YAML value, pass --pub-rate 20 (example) when launching the command.

Frame IDs, service names, and the pub_rate_hz are all driven by the YAML exported through livox_cfg. Edit the config once via livox_cfg new / livox_cfg set and every subsequent livox invocation will pick up the persisted values.

Variable Meaning Default
LIVOX_POINTCLOUD_MAX_POINTS Maximum points per frame (controls shared memory usage). 200000
LIVOX_POINT_FIELD_CAPACITY Maximum number of PointField entries carried in the message. 6
LIVOX_FRAME_ID_MAX_LEN Max characters stored in the Header.frame_id. 64
LIVOX_POINT_FIELD_NAME_MAX_LEN Max characters stored per field name. 32
LIVOX_POINTCLOUD_POINT_STEP Bytes per point (should match the Iceoryx point layout). 24

Adjust them to match the desired cloud density before starting the CLI.

All network parameters now live inside a YAML file stored alongside the installed package (.../site-packages/livox_sdk_cli/cfg/livox_start.yaml). Use the companion livox_cfg helper to create and persist edits:

livox_cfg new            # dump the current config into ./livox_start.yaml
# edit ./livox_start.yaml as needed
livox_cfg set livox_start.yaml  # persist the changes back into site-packages

Key fields of the YAML include pub_rate_hz, frame_id, pointcloud_service, and imu_service, allowing you to control every publisher parameter without touching code.

Device controls

auto_configure_device: true
pcl_data_type: 1       # Required: Cartesian high resolution.
work_mode: 1            # Normal mode.
imu_data_enabled: true
pattern_mode: null      # 0, 1, or 2 when explicitly required.
dual_emit_en: null
blind_spot_set: null
extrinsic_parameter: null  # Or {roll, pitch, yaw, x, y, z}; angle in degrees, xyz in mm.

# Mid-360S only. Keep null to preserve the LiDAR's current setting.
pps_sync_mode: null
esc_mode: null
imu_out_rate: null
imu_accel_range: null
imu_gyro_range: null

pcl_data_type deliberately supports only 1: the CLI decodes high-resolution Cartesian packets. Selecting low-resolution or spherical packets would require a different point decoder and is rejected before any device command is sent.

For development you can keep the editable install active with:

pip install -e .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

File details

Details for the file py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57a7f64ee1bf175cdde3c94e14528cd35251f32808a926196d12508668ac54e1
MD5 f6f0411e57831d54541b1bc383ca9946
BLAKE2b-256 40fbf681ce776b602e98f11279309ec4d79be755e2eedf44fc5055794ea3a136

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e819263d9dcb7833e85a5f31e66eb6ce04418fd17adeba194c4c9ea06c6bad03
MD5 f009beab807e391c4942f57a5290465e
BLAKE2b-256 9eedff6711f443e8c5a2b61e7c4927c88f986cbfa7b360945ffe30bc412c72ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56abddcd9da6ccf07ac95273f45e35dcafd48c8d8c180acf8d511db33891a7e5
MD5 917ca3d1d85f919fbcf71ba27bf7f47e
BLAKE2b-256 869000c0591979c266ebc2e698ae9bbdb4cb64f9e1a4ecb46aec8b8d22a4c4af

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 382013fba5638d96781c370cdc10b877cdf90cdc8a29c1dc8b854e58afc42a35
MD5 c8d5129269f2ca360d86ea672505dd2c
BLAKE2b-256 0d2b6444d7a30b7606edd544f6ad57ccbc696487a938bd77adff9f3e7e05cdc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f74416206a56fe0357ef5614130d636402ae445bcaa98cd3115a9338eb6cc833
MD5 91100d94339ea6400c10eddfb6acb753
BLAKE2b-256 0e2c354213828dd5617f6f96ec02045267846ddc11be230da3cd242072186051

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19c88b2430ace14c43064e10640874c9060e456d7257afc5c1d277c7d8f95135
MD5 9e5701d7ce29158a1fb6ffe0e3df33c5
BLAKE2b-256 864af6d7de1e417478a43e7838bd63ea402f331041cd9d1ecf65412737520282

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dfc17f27c6099bc484bc0a52db75415780c8b9fed9a198fbac1c4d6a996abf8f
MD5 d3107e0cd514fa6ddb921063af60eb3f
BLAKE2b-256 29139a799a74f1ac92aa8bf89433074bf171040538266e6771356aa7996c9f5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1e983329ca204372578f2901e4f90c27582dce328623d279d785f0e515b7bd50
MD5 82610ea274cfeef543fbafc42cabe3d1
BLAKE2b-256 232a5e603297c7fdafc7b3fd69db6035ec89450f94f4c76a86a71de95dd8d7f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 713332d97bfc3276439c0943e0d6e8e1c522a990f0d5f8f24e177f51a06e8a79
MD5 334cf2d80d4f40f2ee2389685ea7a157
BLAKE2b-256 3bfdc36447917e6ea86f5053a9cfe3de6f717b052931b7633862fa63703bb3a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 412a50050e8502d50c974e535a8af1fca065a5875151670036a0eecbf1139c67
MD5 02e744cc1affc6b420bf7441c77cc396
BLAKE2b-256 321661b6678992673212e8b4472daf8387f43ee347c94b055b46586a674b6b5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 651b9c84c127b93bcf0f88dcb64afabfe38f1e2489f57d47f52f8b97be6d3a39
MD5 088027c460342db8d50b7949d7ede404
BLAKE2b-256 e667dd0acfa5f82e70edf0258e34d1de2f9baa379fedca2428194c88eb3e1a5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2481bc790a078a2ac572501c93972d96bf46dc6fd0aa91d2d534297fe8554cbf
MD5 e9fc2b5c3fb1089bec1d58acc03c726e
BLAKE2b-256 79741230a292b323ebc954e93f6f303d884b1b808ee80f8d4cd3cbfd8902bd6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build_wheels.yml on Astrorix/Livox-SDK2-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

12 files

0.0.2

19 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page