INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
libhokuyo_aist Hokuyo URG laser scanner driver. More...
Detailed DescriptionHokuyo URG laser scanner driver. Utility to get the serial number of an Hokuyo laser scanner driver. This library provides a driver for Hokuyo laser scanner devices using the SCIP protocol version 1 or
For a full list of classes and functions, see hokuyo_aist. If this library is compiled as static on Windows, you must define the Header file: #include <hokuyo_aist/hokuyo_aist.h>
This code is a stripped down version of the hokuyo_aist_example that just connects to the device, prints out its serial number, and closes the device. It is useful to write udev scripts to create permanent symlinks to your lasers, in the case you have more than one laser. Acutally iy would be easier if the serial number were provided by hardware as a udev attribute, but it is not. So, this small soft must be called to find the serial number, in order to discriminate between various laser scanners. The file 96-hokuyo.rules should be copied to /etc/udev/rules.d, and then the udev deamon should be restarted with: sudo /etc/init.d/udev stop sudo /etc/init.d/udev start Attention: use stop and start instead of only restart. It appears that the restart script does not reload the rules. You should see a message about reloading hardware drivers when the start command is issued. Afterwards when a hokuyo is plugged, the device /dev/ttyACM* will be generated as before, but besides that a symbolic link called hokuyo_XXXXXX will be generated, where XXXXX is the laser serial number.
|