Back to Top
English | Japanese
This small library is made to be useful start point to connect to Hokuyo's URG sensor.
It has support for Ethernet and Serial connection devices.
It implements the SCIP2.0 protocol.
Samples for Ethernet and Serial connection are included.
This project is meant for Netbeans IDE, however, it should work with others.
If you use the Serial connection, extra step should be considered.
This library uses the RXTX java library from http://mfizz.com/oss/rxtx-for-java
Please configure your classpath to refer to the right RXTXcomm.jar.
Also point the java.library.path to the DLL folder when running the Serial sample.
Example, for windows 32bits: -Djava.library.path=.\lib\rxtx-2.1-7\Windows\x86
This software is licensed under the New BSD license.
https://sourceforge.net/projects/urgnetwork/files/urg_library_java/
repository
https://bitbucket.org/anjinkristou/urglib_j
This librarry contains 2 samples.
- "SerialSampleProgram" prints 20 scans of distance data from sensor with serial connection.
- "EthernetSampleProgram" prints 20 scans of distance data from sensor with ethernet connection.