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
pyserialfor USB/Serial connections (install with[serial]extra)
License
BSD-3-Clause
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
uam_05lp-0.1.0-py3-none-any.whl
(25.4 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f132935b12afce72d0a835fce90914de5705d2422d3bf20778fa22e15ab2188
|
|
| MD5 |
997b98fc1a271fa8821b5db1276320c4
|
|
| BLAKE2b-256 |
1a0a62f5e1e0b93e9cf974cd796c713394fcd3e52fe9567ba2e886136fd36c69
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75611ffd3cca62a452bb39e3daa63fc467a9e822c3dc5ff09364b0ff8285725d
|
|
| MD5 |
a65e113fc3af84ab8bd000767b3f0abd
|
|
| BLAKE2b-256 |
2462b4ee9e94403ee2d3c9749b63dbd1876277f6644b72fcd2359ff183c51fbd
|