Skip to content

Latest commit

 

History

History

python

README.rst

Ouster Python SDK

PyPI version Supported Python versions BSD 3-Clause License (source) Ouster Freeware EULA (build artifacts) PyPI downloads

The Ouster Sensor SDK provides developers with a comprehensive set of interfaces for interacting with Ouster sensor hardware. The SDK includes a suite of tools, libraries, and APIs to access the full range of sensor features and generate recorded sensor data. It is designed to support prototyping, evaluation, and other non-safety-critical applications for both Python and C++ development environments.

Core capabilities:

  • Querying and setting sensor configuration
  • Recording and reading data in pcap format
  • Recording and reading data in Open Sensor Format (OSF)
  • Reading and buffering sensor UDP data streams reliably
  • Conversion of raw data to range/signal/near_ir/reflectivity images (destaggering)
  • Efficient projection of range measurements to Cartesian (x, y, z) coordinates
  • Visualization of multi-beam flash lidar data
  • Mapping
  • Pose Optimizer
  • Localization
  • Zone monitor

Additionally, in Python, the SDK also provides:

  • Frame-based access to lidar data as numpy datatypes
  • A responsive visualizer utility for pcap and sensor

Supported Platforms

The Ouster SDK is distributed as pre-built binaries and can be easily installed using pip, the Python package installer. The SDK is available on the Python Package Index (PyPI) for the following platforms:

  • Most glibc-based Linux distributions on x86_64 and ARM64 platforms (manylinux_2_28_x86_64, manylinux_2_28_aarch64)
  • macOS >= 14 on x86_64 platforms (macosx_14_0_x86_64)
  • macOS >= 14 on Apple Silicon for Python >= 3.8 (macosx_14_0_arm64)
  • Windows 10/11 on x86_64 platforms (win_amd64)

All of our code hosted on GitHub is open source. You can find the Ouster SDK repository here: https://github.com/ouster-lidar/ouster-sdk.

Building from source is supported on:

  • Ubuntu 20.04, 22.04, and Debian 11 (x86-64, aarch64)
  • macOS >= 14 (arm64, x86-64)
  • Windows 10/11 (x86-64)

The Ouster SDK drops languages and platforms as they exit their standard support cycle. Please follow our Lifecycle Policy page to understand when support for a Python version, C++ compiler, Operating System, or Sensor FW may dropped from support.

Licensing

Source code in the Ouster SDK repository is licensed under the BSD 3-Clause License. Pre-built Python wheels and other binary distributions may also include proprietary Ouster components that are provided as freeware under additional Ouster Freeware EULA licensing.