Skip to main content

Pure Python Module for Hybo Lidar

Project description

Hybo

Unofficial pure-python module for iLidar, solid state lidar by Hybo

Install

$ pip install hybo

Example

example/simple.py

import time
import hybo

with hybo.Lidar('/dev/cu.usbserial-D3095E6S') as hybo:
    # waiting for connection
    time.sleep(1)
    
    # retrieve latest frame
    frame = hybo.get_latest_frame()
    print(frame)

Result:

{'sequence': 53247, 'time_peak': 529.675937, 'points': array([[0, 0, 0],
       [0, 0, 0],
       [0, 0, 0],
       ...,
       [0, 0, 0],
       [0, 0, 0],
       [0, 0, 0]], dtype=int16)}

TODO

  • callback-style frame capturing
  • frame queuing
  • async mode

Project details


Download files

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

Source Distribution

hybo-0.0.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

hybo-0.0.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page