View my account

Realsense D405 networking?

Comments

37 comments

  • MartyG

    Hi Scap  As D405 support officially began in SDK version 2.51.1 (before the final rs-server version in 2.53.1), I am not aware of a reason why a D405 could not work with it, though have not seen a previous case of it being used with rs-server.

     

    A scenario where D405 would be unsupported by the rs-server tool though would be if the pre-built SD card image provided by Intel for Raspberry Pi boards was used, as that card image was built around SDK version 2.34.0, long before the D405 camera model was introduced.   

    https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#23-preparing-the-sd-card

     

    So to use D405 with rs-server, you would likely have to perform all of the setup manually, including compiling the rs-server tool and realsense2-net module yourself.

     

    To use networking, you will also need to build the SDK from source code with CMake with the flag  -DBUILD_NETWORK_DEVICE=ON included in the CMake build instruction in order for the SDK to be installed with networking support included in it.

    0
    Comment actions Permalink
  • MartyG

    As official D405 support was introduced in SDK 2.51.1, that means that 2.51.1 is the only networking-supporting version older than 2.53.1 that would likely work correctly with D405.

    0
    Comment actions Permalink
  • Scap

    Thank you for the response Marty! I have been compiling many versions and trying many kernel / driver/ firmware / SDK combinations to no avail. Is there a combination of OS, Kernel, SDK (2.51.1) and camera firmware that you think would be most likely to function. I will build a clean version of your suggested combo and report the result. 

    Thank you for your time and support,

     

    Steve Cap

    0
    Comment actions Permalink
  • MartyG

    If using SDK 2.51.1 then the recommended camera firmware version to use is 5.13.0.50.  This is the absolute minimum firmware that supports D405 and you should not install an older firmware than 5.13.0.50 or the camera will stop working.

     

    In regard to Ubuntu version and kernel version, if you build from source code with CMake and also include the flag -DFORCE_RSUSB_BACKEND=true in the CMake build instruction then OS and kernel version should not matter, as an RSUSB = true build of the SDK is not dependent on Linux versions or kernel versions and does not require a patch script to be applied to the kernel.

    0
    Comment actions Permalink
  • Scap

    OK, so I shall build with the options of:

    -DFORCE_RSUSB_BACKEND=true -DBUILD_NETWORK_DEVICE=ON

    For information I will be building on a fresh install of ubuntu 18.04 LTS. Should I follow the instructions in the link provided above from about step 2.7? as I am not using a Pi but an intel NUC instead. 

    Regards,

     

    Steve Cap

     

    0
    Comment actions Permalink
  • MartyG

    It is okay to use a NUC as the 'remote' computer that the camera is attached to instead of a Pi so long as the NUC is using Ubuntu as its OS.  18.04 would be fine.

    0
    Comment actions Permalink
  • MartyG

    If you need to build 2.51.1 from source code then the best approach would be to use the RSUSB backend installation method.  Please follow the instructions below, but use the source code file for 2.51.1 instead of the 2.49.0 in the instructions.

    https://github.com/IntelRealSense/librealsense/issues/9931#issuecomment-964289692

    0
    Comment actions Permalink
  • MartyG

    0
    Comment actions Permalink
  • Scap

    OK, after retrying in a clean directory it has succeeded.  Running realsense viewer does show the camera connected via USB3.2 and I can stream over USB via the application. Should it be possible to start the server and connect via 127.0.0.1 for testing on the ubuntu machine? It does not connect locally. errors for udev rules are showing on the ubuntu/camera machine when realsense-viewer is launched. I have added then the /etc manually and the error has subsided. I tried to attach a .txt of the realsense viewer output but was not allowed, so I have attached it as a code block to the bottom of this post.

     

    15:14:39 [Info]  - librealsense version: 2.51.1

    15:14:39 [Warn] /home/user/librealsense-2.51.1/common/notifications.cpp:511 - RealSense UDEV-Rules are missing!
    UDEV-Rules permissions configuration 
     for RealSense devices.`
    Missing/outdated UDEV-Rules will cause 'Permissions Denied' errors
    unless the application is running under 'sudo' (not recommended)
    In case of Debians use: 
    sudo apt-get upgrade/install librealsense2-udev-rules
    To manually install UDEV-Rules in terminal run:
    $ sudo cp ~/.99-realsense-libusb.rules /etc/udev/rules.d/99-realsense-libusb.rules && sudo udevadm control --reload-rules && udevadm trigger

    15:14:39 [Info] /home/user/librealsense-2.51.1/src/rs.cpp:2701 - Framebuffer size changed to 1853 x 1025
    15:14:39 [Info] /home/user/librealsense-2.51.1/src/rs.cpp:2701 - Window size changed to 1853 x 1025
    15:14:39 [Info] /home/user/librealsense-2.51.1/src/rs.cpp:2701 - Scale Factor is now 1
    15:14:39 [Info] /home/user/librealsense-2.51.1/src/context.cpp:382 - Found 1 RealSense devices (mask 0xfe)
    15:14:42 [Info]  - Intel RealSense D405 was selected as a default device
    15:14:42 [Info] /home/user/librealsense-2.51.1/common/notifications.cpp:538 - Current SW version: 2.51.1.0
    Recommended SW version: 2.55.1.6486
    15:14:42 [Debug]  - Current FW >= Bundled FW for: Intel RealSense D405      (S/N 218622273179)
    Current Version: 05.13.00.50
    Recommended Version: 05.13.00.50

    15:25:57 [Info]  - librealsense version: 2.51.1

    15:25:57 [Info] /home/user/librealsense-2.51.1/src/rs.cpp:2701 - Framebuffer size changed to 1853 x 1025
    15:25:57 [Info] /home/user/librealsense-2.51.1/src/rs.cpp:2701 - Window size changed to 1853 x 1025
    15:25:57 [Info] /home/user/librealsense-2.51.1/src/rs.cpp:2701 - Scale Factor is now 1
    15:25:57 [Info] /home/user/librealsense-2.51.1/src/context.cpp:382 - Found 1 RealSense devices (mask 0xfe)
    15:26:00 [Info]  - Intel RealSense D405 was selected as a default device
    15:26:01 [Info] /home/user/librealsense-2.51.1/common/notifications.cpp:538 - Current SW version: 2.51.1.0
    Recommended SW version: 2.55.1.6486
    15:26:01 [Debug]  - Current FW >= Bundled FW for: Intel RealSense D405      (S/N 218622273179)
    Current Version: 05.13.00.50
    Recommended Version: 05.13.00.50
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ipDeviceCommon/RsUsageEnvironment.cpp:39 - RealSense network logging initialized
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ipDeviceCommon/RsUsageEnvironment.cpp:39 - RealSense network logging initialized
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ipDeviceCommon/RsUsageEnvironment.cpp:48 - continueAfterOPTIONS 0 Stereo Module[0{0,1,0,1};1{-64,64,0,1};2{0,100,50,1};3{1,200000,33000,1};4{16,248,16,1};5{100,500,300,1};6{-180,180,0,1};7{0,100,64,1};8{0,100,50,1};9{2800,6500,4600,10};10{0,1,1,1};11{0,1,1,1};12{0,5,0,1};19{0,32,16,1};22{0,3,3,1};24{0,1,0,1};26{0,1,0,1};28{1e-06,0.01,0.001,1e-06};40{18.032,18.032,18.032,0};53{0,1,1,1};76{0,1,0,1};77{0,3,1,1};78{2,2,2,1};79{0,2,0,1};85{1,200000,33000,1};86{16,248,16,1};91{0,1,0,1};92{0,1,0,1};]
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Backlight Compensation', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Brightness', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Contrast', value 50
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Exposure', value 33000
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Gain', value 16
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Gamma', value 300
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Hue', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Saturation', value 64
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sharpness', value 50
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'White Balance', value 4600
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Enable Auto Exposure', value 1
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Enable Auto White Balance', value 1
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Visual Preset', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Frames Queue Size', value 16
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Power Line Frequency', value 3
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Error Polling Enabled', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Output Trigger Enabled', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Depth Units', value 0.001
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Stereo Baseline', value 18.032
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Global Time Enabled', value 1
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Hdr Enabled', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Name', value 1
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Size', value 2
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Id', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Exposure Limit', value 33000
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Gain Limit', value 16
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Exposure Limit Toggle', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Gain Limit Toggle', value 0
    15:26:56 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:26:56 [Info] /home/user/librealsense-2.51.1/src/ipDeviceCommon/RsUsageEnvironment.cpp:48 - Failed to get a SDP description: 404 Stream Not Found
    15:26:56 [Warn] /home/user/librealsense-2.51.1/src/rs.cpp:310 - null pointer passed for argument "device"
    15:26:56 [Warn] /home/user/librealsense-2.51.1/common/output-model.cpp:873 - Unrecognized command ''
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Saturation', value 64
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sharpness', value 50
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'White Balance', value 4600
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Enable Auto Exposure', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Enable Auto White Balance', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Visual Preset', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Frames Queue Size', value 16
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Power Line Frequency', value 3
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Error Polling Enabled', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Output Trigger Enabled', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Depth Units', value 0.001
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Stereo Baseline', value 18.032
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Global Time Enabled', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Hdr Enabled', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Name', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Size', value 2
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Id', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Exposure Limit', value 33000
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Gain Limit', value 16
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Exposure Limit Toggle', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Gain Limit Toggle', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Backlight Compensation', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Brightness', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Contrast', value 50
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Exposure', value 33000
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Gain', value 16
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Gamma', value 300
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Hue', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Saturation', value 64
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sharpness', value 50
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'White Balance', value 4600
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Enable Auto Exposure', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Enable Auto White Balance', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Visual Preset', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Frames Queue Size', value 16
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Power Line Frequency', value 3
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Error Polling Enabled', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Output Trigger Enabled', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Depth Units', value 0.001
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Stereo Baseline', value 18.032
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Global Time Enabled', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Hdr Enabled', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Name', value 1
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Size', value 2
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Sequence Id', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Exposure Limit', value 33000
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Gain Limit', value 16
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Exposure Limit Toggle', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:138 - Init sensor 1, option 'Auto Gain Limit Toggle', value 0
    15:27:51 [Error] /home/user/librealsense-2.51.1/src/ethernet/ip_device.cpp:159 - [getOption] error: 500 Invalid Option - 500
    15:27:51 [Info] /home/user/librealsense-2.51.1/src/ipDeviceCommon/RsUsageEnvironment.cpp:48 - Failed to get a SDP description: 404 Stream Not Found
    15:27:51 [Warn] /home/user/librealsense-2.51.1/src/rs.cpp:310 - null pointer passed for argument "device"
    15:27:51 [Warn] /home/user/librealsense-2.51.1/common/output-model.cpp:873 - Unrecognized command ''

     

    0
    Comment actions Permalink
  • MartyG

    Please try inputting the command below into the Ubuntu terminal to install the udev rule, which handles devices such as RealSense cameras.

    sudo cp ~/.99-realsense-libusb.rules /etc/udev/rules.d/99-realsense-libusb.rules && sudo udevadm control --reload-rules && udevadm trigger
    0
    Comment actions Permalink
  • Scap

    Sorry, I was updating my previous post before I realised you had answered about the manual installation of udev rules. Udev rules have been installed. Realsense-viewer output is attached at the end of my previous post. 

     

    Steve Cap

    0
    Comment actions Permalink
  • MartyG

    It looks like the errors start after logging into the ethernet network is initiated.

     

    Have you (1) logged into the remote NUC from your main 'host' PC using an SSH connection; and then (2) configured the static IP before (3) finally attempting to use the Viewer's 'Add Network Device' option once the static IP is configured?

     

    LOGGING INTO THE REMOTE PC VIA SSH

    https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#25-first-boot

     

    SETTING UP THE STATIC IP

    https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#26-setting-static-ip

     

    0
    Comment actions Permalink
  • Scap

    I can ssh into the ubuntu computer from my windows host, but the ubuntu computer does not have a file at `/etc/dhcpcd.conf` as I believe that is a file typically on raspberry pi's. I did however set a static IP in the network utility available in the ubuntu desktop.

     

     

    0
    Comment actions Permalink
  • MartyG

    0
    Comment actions Permalink
  • MartyG

    0
    Comment actions Permalink
  • Scap

    I am indeed using putty, I understood the initial username being "realsense" was due to the configuration on the raspberry pi image. As I setup the ubuntu machine from scratch my username and password are different. is the SSH username and password a critical component of this setup? 

    0
    Comment actions Permalink
  • MartyG

    0
    Comment actions Permalink
  • MartyG

    I suspect that the username in the documentation is only realsense because that's how the Pi SD card image was configured.

    0
    Comment actions Permalink
  • Scap

    Thank you very much for your assistance! I look forward to continuing.

     

    for simplicity I have added a realsense user.

     

     

     

    Is there a specific version of realsense-viewer I should be using on my windows computer to connect to the rs-server on the ubuntu computer? The version I am currently attempting to use is v2.47.0 as it is the last version I could find that has networking enabled. If I need to use a different version I could build it from source with some assistance. The current message when trying to use v2.47.0 is:


     

    0
    Comment actions Permalink
  • MartyG

    The Windows instructions recommend downloading and running the pre-made version of the RealSense SDK / RealSense Viewer available on the SDK Releases page rather than compiling it yourself from source code.

    https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_windows.md

     

    As 2.47 did not yet support D405, it may not know how to detect a D405.  So I would recommend downloading the 2.51.1 version of the Viewer from the Releases page by going to the 'Assets' list at the bottom of that page and downloading and running the file Intel.RealSense.Viewer.exe and then trying to network-connect to D405.

    https://github.com/IntelRealSense/librealsense/releases/tag/v2.51.1

     

     

     

     

     

    0
    Comment actions Permalink
  • Scap

    I have downloaded and tried the 2.51.1 realsense-viewer but it does not support network devices. 

    0
    Comment actions Permalink
  • MartyG

    Ok, thanks very much for testing the pre-made 2.51.1 Viewer.  I got the same message when I just tried that Viewer myself.

     

    The 2.50.0 version of the Viewer does seem to have the network function like the 2.47 version does.  Although D405 was not yet officially supported in 2.50.0, it can be unofficially detected by it.  

    https://github.com/IntelRealSense/librealsense/releases/tag/v2.50.0

     

    0
    Comment actions Permalink
  • Scap

    it seems this version also has trouble connecting

     

     

    also, this is the output of the server side:

    0
    Comment actions Permalink
  • MartyG

    If the network connection to the remote camera has been successfully established then it should be listed in the side-panel of the Viewer as a Network Device, like the image below from the networking documentation.

     

     

    Although the documentation does not specify the need for it, I recall that some users have said in the past that they had to build librealsense from source with networking support on both the remote and host computers in order for the networking to work.

    As updates for the rs-server tool ceased a long time before it was actually removed from the SDK, there is also the unfortunate possibility that it may be incompatible with a camera model released long after its final update, even if D405 is being detected (as shown by the log image). 

     

    Can you confirm please that you are launching rs-server on the NUC remote machine but launching realsense-viewer on the Windows host machine, please?  That is the way in which it should be done.

    0
    Comment actions Permalink
  • Scap

    Yes, rs-server is being launched on the ubuntu NUC:

    and when doing do I see some DMESG output scroll indicating some camera action in correlation:

    The realsense-viewer (v2.50.0) is then launched via the windows computer (windows 11 pro). No camera appears in the left column, so I have tried to use the Add source -> add network device option to input the IP of the ubuntu computer. The two computers can ping one another and can SSH to each other, so there is network connectivity.

     

    0
    Comment actions Permalink
  • Scap

    Here is some further information I have observed:

     

     

    0
    Comment actions Permalink
  • Scap

    0
    Comment actions Permalink
  • Scap

    0
    Comment actions Permalink
  • MartyG

    In regard to the list of Invalid Options (which are all related to RGB color), this may be because the D405 model is not equipped with an RGB sensor component (it obtains its RGB image from the depth sensor) and so does not support the listed RGB configuration settings.

    0
    Comment actions Permalink
  • MartyG

    We are at the point where it may be necessary to start considering trying the alternative Python-based EtherSense ethernet networking tool that is the predecessor of rs-server and is still supported in the SDK.

    https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/ethernet_client_server

    https://dev.intelrealsense.com/docs/depth-camera-over-ethernet-whitepaper

     

    0
    Comment actions Permalink

Please sign in to leave a comment.