Skip to main content

A python library for using Hokuyo-URG laser range sensor

Project description

pyURG is a library for using Hokuyo-URG laser range sensor in Python.

Example

>>> import pyurg              # inport this library
>>> urg = pyurg.UrgDevice()   # for Initializing
>>> urg.connect()             # connect to the URG device
True
>>> data, timestamp = urg.capture() # get length datas and timestamp
>>> data  # print length datas
[-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 117, 118, 119, 118, 120, 120, 120, 116, 120, 117, 118, 117,
117, 117, 118, 119, 120, 120, 120, 120, 127, 2413, 2413, 2413, ...  111, 111, 113, 113, 113, 113, 114, 112]

Project details


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyurg-0.0.1-py2-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel py2
pyurg-0.0.1-py3-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel py3
pyurg-0.0.1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page