View my account

pyrealsense2 on Nanopi

Comments

8 comments

  • Zulkifli Halim

    Hello Alexeyp,

    Thank you for contacting us.

    Can you please try to apply udev rules and then check it?
    https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md#prerequisites

    sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/
    sudo udevadm control --reload-rules && udevadm trigger

    Regards,
    Zulkifli Halim
    Intel Customer Support 

    0
    Comment actions Permalink
  • Alexeyp

    Good day. Thank you for you answer!

    I did it, but still have the same problem

    Traceback (most recent call last):
    File "./test.py", line 24, in <module>
    pipe.start(config)
    RuntimeError: No device connected

     

     

    0
    Comment actions Permalink
  • Zulkifli Halim

    Hello Alexeyp.

     

    My apologies for the late response.

     

    Try to configures the librealsense cmake build with: 

    cmake .. -DBUILD_PYTHON_BINDINGS=true -DFORCE_RSUSB_BACKEND=true

     

    Regards,

    Zulkifli

    0
    Comment actions Permalink
  • Alexeyp

    Still the same.

    Could you please send full step-by-step guide how to read deep and rgb images from RealSense camera on nanoPi 4? 

    Thank you!

    0
    Comment actions Permalink
  • Alexeyp

    CMakeOutput.log

     

     

    Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_CXX11 succeeded with the following output:
    Change Dir: /home/pi/librealsense/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make cmTC_95040/fast && /usr/bin/make -f CMakeFiles/cmTC_95040.dir/build.make CMakeFiles/cmTC_95040.dir/build
    make[1]: Entering directory '/home/pi/librealsense/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_95040.dir/src.cxx.o
    /usr/bin/c++ -DCOMPILER_SUPPORTS_CXX11 -std=c++11 -o CMakeFiles/cmTC_95040.dir/src.cxx.o -c /home/pi/librealsense/build/CMakeFiles/CMakeTmp/src.cxx
    Linking CXX executable cmTC_95040
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_95040.dir/link.txt --verbose=1
    /usr/bin/c++ -DCOMPILER_SUPPORTS_CXX11 -rdynamic CMakeFiles/cmTC_95040.dir/src.cxx.o -o cmTC_95040
    make[1]: Leaving directory '/home/pi/librealsense/build/CMakeFiles/CMakeTmp'


    Source file was:
    int main() { return 0; }
    Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_CXX0X succeeded with the following output:
    Change Dir: /home/pi/librealsense/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make cmTC_50134/fast && /usr/bin/make -f CMakeFiles/cmTC_50134.dir/build.make CMakeFiles/cmTC_50134.dir/build
    make[1]: Entering directory '/home/pi/librealsense/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_50134.dir/src.cxx.o
    /usr/bin/c++ -DCOMPILER_SUPPORTS_CXX0X -std=c++0x -o CMakeFiles/cmTC_50134.dir/src.cxx.o -c /home/pi/librealsense/build/CMakeFiles/CMakeTmp/src.cxx
    Linking CXX executable cmTC_50134
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_50134.dir/link.txt --verbose=1
    /usr/bin/c++ -DCOMPILER_SUPPORTS_CXX0X -rdynamic CMakeFiles/cmTC_50134.dir/src.cxx.o -o cmTC_50134
    make[1]: Leaving directory '/home/pi/librealsense/build/CMakeFiles/CMakeTmp'


    Source file was:
    int main() { return 0; }

    0
    Comment actions Permalink
  • Zulkifli Halim

    Hello Alexeyp, 

     

    Sorry for the late response.

     

    Please provide us the exact steps that you did, so we can reproduce the issue.

     

    Regards,

    Zulkifli

    0
    Comment actions Permalink
  • Alexeyp

    Thank you 

    I am following this guide

    https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md#prerequisites

     

    And got 

    File "./export_ply_example.py", line 24, in <module>
    pipe.start(config)
    RuntimeError: No device connected

    0
    Comment actions Permalink
  • Zulkifli Halim

    Hello Alexeyp,

    Have you tried the camera on a different computer? Does it work? 

    Regards,
    Zulkifli Halim
    Intel Customer Support 

    0
    Comment actions Permalink

Please sign in to leave a comment.