Menu

Support for Python:

Anonymous
2017-01-11
2017-06-08
  • Anonymous

    Anonymous - 2017-01-11

    Hello Konnichiwa,
    I am trying to receive the distance data with URG-04LX_UG01 using Raspberry Pi ( Raspbian OS). Is there any support, Library or sample files for Python (2.7 or 3.0 any). If so please let me know.
    Thank you.

     
    • Anonymous

      Anonymous - 2017-06-08

      Hi, I am also working on this but I used C language on Raspberry Pi. How is youtr process?

       
  • s-watanabe

    s-watanabe - 2017-01-12

    Hi,
    I'm sorry, but there are no libraries for Python which is being supported with us.
    The following library exists, but it isn't ours, so it can't be secured.

    https://github.com/nus/pyURG
    https://github.com/SuderPawel/hokuyo-python-lib
    https://github.com/HiroakiMatsuda/pyurg

    Best Regards.

     
    • Anonymous

      Anonymous - 2017-06-08

      Dear s-watanabe,
      If I also want to receive date from URG-04LX_UG01 using Raspberry Pi, but in C language. And I downloaded library from this website.https://sourceforge.net/projects/urgnetwork/files/urg_library/ May I know is this workable or anything need to change for it to work on Raspberry Pi peoperly?
      Thanks a lot.

       
      • s-watanabe

        s-watanabe - 2017-06-08

        Hi,
        urg_library is also available on Raspberry Pi.
        Please refer to the following for compiling method.
        http://urgnetwork.sourceforge.net/html/usage_gcc_page.html

        For serial connection, it is necessary to change the serial port name as follows.
        http://urgnetwork.sourceforge.net/html/library_tutorial_page.html

        Best Regards.

         

        Last edit: s-watanabe 2017-06-08
        • Anonymous

          Anonymous - 2017-06-29

          Dear s-watanabe,
          I have read the library function tutorials and get the souce code from https://sourceforge.net/projects/urgnetwork/files/urg_library/ I am using geany on Raspberry pi in C language. What are steps I need to follow for software to run URG 04lx ? Where should I compile makefile and other source code files?I finished the hardware set up. I am new to this,sorry for asking these basic questions.
          Thank you.

           
          • m-nagata

            m-nagata - 2017-06-29

            I'm sorry, but s - watanabe is absent from business trip.
            Please wait until next week.

             
          • s-watanabe

            s-watanabe - 2017-07-03

            Hi,
            Urg_library has several samples available.
            I will show you how to execute the sample.
            First,you can compile by executing the following command.

            $ cd urg_library-*.*.* /
            $ make
            

            Then, the C language library is generated in the following file.
            If compiled correctly, you can check the get_distance executable file by using ls command.

            $ cd samples/c
            $ ls
            

            Then execute it with the following command.

            $ ./get_distance
            

            Please check yourself about how to compile using by geany.

            Best Regards.

             
  • Anonymous

    Anonymous - 2017-01-12

    Dear s-watanabe,
    Thank you for the links.
    FYI: I have already tried https://github.com/SuderPawel/hokuyo-python-lib. I will try the remaining.

    Thank you.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB