View my account

two RealSense connected to a PC - RealSense Viewer - incomplete video frame detected

Comments

8 comments

  • MartyG

    Hi Nicola Ariutti  Welcome to the RealSense community!

     

    Yes, you can use several RealSense cameras on the same computer.  If the cameras are all active simultaneously though then the amount of the computer's resources that are consumed increases as more cameras are added.  For example, a computer with at least an Intel i7 processor is recommendable for 4 simultaneously active cameras on the same PC.  For two cameras you should be able to use a lower hardware specification such as an i3 processor.

     

    I note that the '2.1' beside the camera names in the RealSense Viewer's options side-panel indicates that the two cameras are being detected as being on a USB 2 connection rather than USB 3.  Because USB 2 connections are slower than USB 3, the performance of the cameras will be more restricted.  Information about this is provided at the link below.

    https://www.intelrealsense.com/usb2-support-for-intel-realsense-technology/

     

    Can you confirm that you are using a USB 3 hub and not a USB 2 one, please?  Also, are you using the official 1 meter USB cables supplied with the camera, and if you are using your own choice of USB cables then can you confirm that they are USB 3 cables and not USB 2.  Either a USB 2 hub or USB 2 cable could cause the cameras to be detected as operating in the slower USB 2 mode instead of being able to take advantage of the full capabilities that the camera has on a USB 3 connection.

    0
    Comment actions Permalink
  • Nicola Ariutti

    Thank you very much for your exhaustive reply MartyG,

    I'm happy to hear that I can use as much as 4 RealSense on a single PC (provided it performs well enough)!

    You are right about the USB, I didn't realise there was this indicator in the interface. I am now using a 'real' USB 3.0 HUB and from the interface I see something different and I am no longer experiencing the problems I had before. 

    I am currently using the two sensors connected to the HUB via the supplied USB cable, but in the past I had done a test with a single sensor and a cable up to 5 metres long, with success.

    Do you think it is possible to use even longer connection cables? Maybe up to 15 metres? What could be the difficulties in such a setup? In the past I have had very bad experiences with long cables, extension cables and various ethernet extenders...

    But I've found a project inside the official documentation related to the network use of the camera. This would seem to allow me to position the cameras even further away from the host PC.

    Do you have experience in using the sensor in this kind of setup?
    In your opinion, would this type of setup also allow me to use more sensors than 4?
    What could be the cons of this approach?

    Thank you so much





     

     

    0
    Comment actions Permalink
  • MartyG

    Yes, it is possible to use RealSense cameras with longer cables.  The company Newnex supply RealSense-validated premium grade USB-C cables up to 20 m and fiber-optic cabling for using the cameras at 100 meters.  The 20 m cables contain active repeater components for boosting the signal over distance.

     

    https://www.newnex.com/realsense-3d-camera-connectivity.php

     

    https://www.youtube.com/watch?v=GLQgR1jT04M

     

    In regard to limitations, it is recommendable to perform firmware driver updates over a short cable instead of a 20 m or longer cable.

     

    The cameras can also be accessed as a 'network camera' over CAT5 ethernet cables at up to 100 m distance using the RealSense networking system in the guide that you linked to.  The speed of these cables is faster than USB 2 but slower than USB 3.

    https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#12-motivation

     

    Aside from the reduced data transmission speeds over ethernet cable compared to USB 3 cable, the networking system also supports a more limited range of resolution and FPS speed combinations.

    https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#36-software-limitations

     

    Another limitation is that although the networking system can support multiple cameras, each camera should be attached to its own individual computer or computing board instead of all cameras being attached to the same computer.  This does not need to be expensive though if Raspberry Pi 4 boards are used as the remote computing board to attach the cameras to.

    0
    Comment actions Permalink
  • Nicola Ariutti

    Thank you MartyG for the exhaustive answer.
    I will take the time to examine everithing.
    I will trun back to you if I have further questions
    thank you!
    bye

    0
    Comment actions Permalink
  • Nicola Ariutti

    here I am again MartyG with some questions somewhat earlier than expected :P

    on the question of using multiple sensors on the same PC, just now, the tests with multiple cams, I did them on an Ubuntu 18.04 Linux PC.

    Now instead I am on a Windows 10 Pro PC and, connecting the same USB3.0 HUB (working on linux) to the PC, and both sensors, D435 and D455, opening Realsense Viewer version 2.50.0, I am not able to add one of the two sensors in the interface despite it seems to me that from "Hardware Device Manager" the second sensor is correctly visaulized among the connected devices.

    How can I solve this?
    What could be additional elements to help you better understand my problem?

    thank you very much

    0
    Comment actions Permalink
  • MartyG

    The Device Manager does not look correct.  Both of the cameras should have their two drivers (Depth and RGB) listed under the Fotocamere category.  Your Fotocamere should look like the image below, with 4 RealSense drivers for the 2 cameras.

     

     

    Please use the instructions in the link below to check that the camera privacy settings have the permission to access the camera hardware and permission for applications to access the camera both set to On.

    https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

    1
    Comment actions Permalink
  • Nicola Ariutti

    Thank you MartyG,
    I was evnetually able to make all the drivers appear and to use tree cameras at the same time.
    bests

    0
    Comment actions Permalink
  • MartyG

    That's great to hear, Nicola Ariutti - thanks very much for the update!

    0
    Comment actions Permalink

Please sign in to leave a comment.