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


Download files

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

Files for pyurg, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyurg-0.0.1-py2-none-any.whl (5.1 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size pyurg-0.0.1-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyurg-0.0.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page