Ubuntu + hokuyu URG-04LX-UG01

Source: Internet
Author: User
Try get
Http://www.hokuyo-aut.jp/02sensor/07scanner/download/urg_programs_en/index.html
  • Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • URG programming guide
URG series Sensor

Explanation of the SCIP 2.0 protocol that is using in URG series.
Library and sample that uses scip2.0 protocol are introduced here.

  • Sample Library for URG

    • Urg-0.8.18.zip
  • Targeted development environment

    • Windows

      • Visual Studio 2005
      • Mingw
      • Qt
    • Linux, Mac
      • Gcc
  • Validation Method of serial device

    • Confirmation of the windonw's serial device.
    • Confirmation of serial device with Linux
    • Confirmation of serial device with Mac
  • Explanation of Scip commands

    • Setting of Operation Mode
    • Obtain status information
    • Receive Distance data
  • Sample program for URG

    • About sample programs for URG
    • URG library API
      • Urg_ctrl.h... C's API
      • QRK: urgctrl... C ++'s API
    • Method To use URG Library
  • Sample program

    • Sample programs on how to use C library

      • Gd_scan.c... get data
      • Md_scan.c... get data (continuously)
      • Get_version_lines.c... display version information
      • Get_parameters.c... get Parameter
      • Expand_2d.c... convert distance data to 2 dimen1_co-ordinate to draw Graph
      • Index_convert.c... angle Conversion
      • Get_timestamp.c... get time stamp
      • Multi_urg.c... get data related to multiple URG
    • Sample programs on how to use C ++ Library
      • Gdcapturesample. cpp... get data
      • Mdcapturesample. cpp... get data (continuously)
      • Captureintensitysample. cpp... get intensity data
      • Viewvvsample. cpp... display version information
      • Viewppsample. cpp... display Parameter
  • Application

    • Tool that view URG data.
    • Inspection tool of URG receive data
    • Acquire 3D data using Wii Remote Control
    • Tool to display URG Port
  • Technical Document

    • About the connection between top-URG and embedded device.
Generated on Tue Oct 30 2012 14:20:27
1.8.2-20120930

  • Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • Index
Sample program for URG about sample programs for URG

Sample programs to implement URG's library. These programs can be executed in windows, Linux and Mac
C ++ programs are implemented according to boost and STL. To install boost and SDL please refer below pages.

  • About Construction of Development Environment

    • Windows
    • Linux
    • Mac

There is no gurantee that these programs can be execute in any environment. Consider just as a sample program

  • Revision history of URG Library

URG library API
  • Urg_ctrl.h... API in C
  • QRK: urgctrl... API in C ++

Method To use URG libraryurg library for Windows.

URG library can be create as lib file and include/folder. Those created can be used in windows.

  • Build Method
  • Start Visual Studio 2005 from urg-X.X.X/vc8/C/c_urg.vcproj (as well as urg-X.X.X/vc8/CPP/URG. vcproj), then press F7 to build.
  • Build can be considered as success if debug/c_urg.lib file and include folder are created.
  • How to use library

    • Use DEBUG/c_urg.lib and include files.

Using URG library in Linux
  • Compiling Method

    • Compilation can be done with configure & make

      • C ++ version library cannot be compiled without boost, SDL and sdl_net.

    • Each script in c_urg-config, URG-config can be used after installation using "make install ".
      % unzip urg-X.X.X.zip% cd urg-X.X.X% ./configure && make# make install 
  • How to use library

    • The option necessary for the compilation can be described by using c_urg-config (or URG-config ).

      • C_urg_sample.tar.gz... sample using C version library.
      • Urg_sample.tar.gz... sample using C ++ version library.

Generated on Tue Oct 30 2012 14:20:26
1.8.2-20120930

  • Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • Index
Linux

Some parts of library depend on SDL and boost.
In this section, Installation Method of each library is explained.

  • Install SDL on Linux
  • Install boost on Linux

While using package installation on Linux, it is better to use this package tool that manages distribution. (APT, RMP etc)
Install using source code, only when package management is not done.

Install SDL on Linux
  • Install SDL using package management tool

    • In ubuntu 「Libsdl1.2-DevIs installed.
  • Install SDL from source.

    • Download and compile the file SDL-1.2.XX.tar.gz from
      SDL site

      % tar zxvf SDL-1.2.XX.tar.gz% cd SDL-1.2.XX% ./configure && make% sudo make install 

Install boost on Linux
  • Install boost using package management tool

    • In ubuntu 「Libboost-Dev"And 「Libboost-RegEx-DevIs installed.
  • Install boost from source

    • Download and compile the file boost-1.37.X from
      Boost site

      % tar zxvf boost_1_37_X.tar.gz% cd boost_1_37_X% ./configure && make% sudo make install% cd /usr/local/include% sudo ln -s boost_1_37_X/boost boost 

Generated on Tue Oct 30 2012 14:20:26
1.8.2-20120930

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.