Skip to main content

Python communication library for the Hokuyo UAM-05LP safety laser scanner (UAM protocol)

Project description

uam-05lp

Python communication library for the Hokuyo UAM-05LP safety laser scanner (UAM protocol).

Installation

pip install uam-05lp

For serial/USB connections:

pip install uam-05lp[serial]

Quick Start

from uam_05lp import UAM05LP

with UAM05LP("192.168.0.10") as sensor:
    # Single scan
    scan = sensor.get_distance()
    print(f"Got {len(scan.distances)} distance points")
    print(f"Area: {scan.safety.area_number}, Error: {scan.safety.error_detected}")

    # Continuous scanning
    with sensor.iter_distance() as stream:
        for scan in stream:
            print(scan.distances[540])  # Front-center distance

Requirements

  • Python 3.10+
  • No dependencies for Ethernet (TCP) connections
  • pyserial for USB/Serial connections (install with [serial] extra)

License

BSD-3-Clause

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

uam_05lp-0.1.0.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

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

uam_05lp-0.1.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file uam_05lp-0.1.0.tar.gz.

File metadata

  • Download URL: uam_05lp-0.1.0.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for uam_05lp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f132935b12afce72d0a835fce90914de5705d2422d3bf20778fa22e15ab2188
MD5 997b98fc1a271fa8821b5db1276320c4
BLAKE2b-256 1a0a62f5e1e0b93e9cf974cd796c713394fcd3e52fe9567ba2e886136fd36c69

See more details on using hashes here.

File details

Details for the file uam_05lp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: uam_05lp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for uam_05lp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75611ffd3cca62a452bb39e3daa63fc467a9e822c3dc5ff09364b0ff8285725d
MD5 a65e113fc3af84ab8bd000767b3f0abd
BLAKE2b-256 2462b4ee9e94403ee2d3c9749b63dbd1876277f6644b72fcd2359ff183c51fbd

See more details on using hashes here.

Supported by

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