Skip to content
/ hokuyolx Public archive

A Python module for Hokuyo laser scanners (UST-10LX, UST-20LX, UST-30LX)

License

Notifications You must be signed in to change notification settings

SkoltechRobotics/hokuyolx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hokuyo LX

A Python module for working with Hokuyo LX laser scanners.

Documentation Status PyPI version MIT License

Introduction

This module aims to implement communication protocol with Hokuyo laser rangefinder scaners, specifically with the following models: UST-10LX, UST-20LX, UST-30LX. It was tested only with UST-10LX but should work with others as well. It's Python 2 and 3 compatible but was mainly tested using Python 3.

For protocol specifications please refer to the following documents:

Installing

You can install hokuyolx using pip:

$ sudo pip install hokuyolx

Or for Python 3:

$ sudo pip3 install hokuyolx

Documentation

View the latest hokuyolx documentation at http://hokuyolx.rtfd.org/.

Usage example

Simple example:

>>> from hokuyolx import HokuyoLX
>>> laser = HokuyoLX()
>>> timestamp, scan = laser.get_dist() # Single measurment mode
>>> # Continous measurment mode
>>> for timestamp, scan in laser.iter_dist(10):
...     print(timestamp)

In addition to it you can view example applications inside examples directory.

About

A Python module for Hokuyo laser scanners (UST-10LX, UST-20LX, UST-30LX)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages