View my account

USB SCP overflow

Comments

30 comments

  • MartyG

    Basically, the USB port cannot keep up with processing the volume of data that is arriving at it.  One reason this may occur is because the processing of the computer is slowing down, which could occur because the computer's memory is being increasingly used up over time.  This is called a "memory leak". 

    If memory is not correctly released for re-use by a program then the amount of available memory becomes lower and lower as time progresses, until the program no longer has sufficient resources to run properly, and becomes unstable or crashes and exits. 

    You can tell if you are experiencing a memory leak by monitoring the computer's memory usage over time and observe whether the available memory is going down further and further.

    0
    Comment actions Permalink
  • Lsk111919

    After optimizing memory, the same error persists.

    0
    Comment actions Permalink
  • MartyG

    My next suggestion would be to monitor the temperature of the camera over time to ensure that it is not becoming too hot.  You can monitor the camera circuit board (ASIC) and the Projector temperatures in the "Controls" section of the Viewer's options side-panel.  If the camera becomes excessively hot, a simple touch of the camera's casing may confirm this.

    I would expect the ASIC operating temperature to be around 28 to 32 degrees when starting the camera from a cold state.  If the ASIC temperature becomes over 42 degrees C then technical problems may start manifesting.

    Factors that can make camera temperature rise can include (a) environmental factors such as weather heating the casing, (b) using multiple camera streams simultaneously, and (c) a glitch on the USB port or a bad USB cable.

    0
    Comment actions Permalink
  • Lsk111919

    I don't think the temperature of the camera is high. And the advice related to the cable will be to test the other cable. If the problem is not solved, please help me again.

    0
    Comment actions Permalink
  • Lsk111919

    It's been like this all day.

    0
    Comment actions Permalink
  • MartyG

    I note that your camera is being detected as being on a USB 2 connection instead of USB 3 (which is indicated by the 2.1 beside the camera's name at the top of the options side-panel).  RealSense cameras have more limited capabilities on USB 2 due to the reduced USB bandwidth on such connections, as described by the link below.

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

    Sometimes a camera may be plugged into a USB 3 port (which enables access to the camera's full capabilities) but the camera is mis-identified as being on a USB 2 connection.   Can you confirm please that the camera is plugged into a USB 3 port on your laptop?

    0
    Comment actions Permalink
  • Lsk111919

    I'm connecting properly to the usb 3.0 port, but it shows up like that. I know the port is 3.0 in blue, but was I mistaken?

    0
    Comment actions Permalink
  • Lsk111919

    I think the Usb cable we are using now is type 2.0. Will it work well if I change it to 3.0 cable?

    0
    Comment actions Permalink
  • MartyG

    You should use a USB 3 cable with a USB 3 port if you want USB 3 performance, yes.  Otherwise a USB3-supporting device connected to a USB 3 port with a USB 2 cable will likely be limited to USB 2 speed.

    https://www.howtogeek.com/222400/do-usb-3.0-connections-require-usb-3.0-cables/ 

    0
    Comment actions Permalink
  • Lsk111919

    Can I solve the problem of 'USB SCP overflow' by using 3.0 cable?

    0
    Comment actions Permalink
  • MartyG

    I can't make any guarantees.  Using a USB-C cable that is USB 3 with the camera certainly is not going to hurt performance though.

    0
    Comment actions Permalink
  • Lsk111919

    Thank you for your help. Thanks to you, it worked well and I am studying programming now. Thank you again for your help.

    0
    Comment actions Permalink
  • MartyG

    That's great news!   Thanks so much for the update about your success.   :)

    0
    Comment actions Permalink
  • Lsk111919

    Another question is 'visual studio2015'. Can you tell me where I can get the vs2010-15.integration.md file?

    0
    Comment actions Permalink
  • MartyG

    The link below describes where to find it.  But it was used with the 2016 version of the RealSense SDK for Windows, not the current RealSense SDK 2.0 (librealsense).

    https://github.com/IntelRealSense/librealsense/issues/3398 

    If you are using librealsense, the link below should be more useful for setting up your own project and linking dependencies:

    https://github.com/IntelRealSense/librealsense/issues/4277 

    It describes how you can find a prop file at the folder location C:\Program Files (x86)\Intel RealSense SDK 2.0\intel.realsense.props

    0
    Comment actions Permalink
  • Lsk111919

    There is a basic example that I am referring to. However (cannot open the file source "pxcession.h" ) This error occurs.

    0
    Comment actions Permalink
  • MartyG

    Whenever "pxc" is involved, it usually refers to the old 2016 SDK and not the modern one.  They are completely incompatible with each other, unfortunately and have totally different programming languages and files.  You must be using the modern RealSense SDK 2.0, as you showed an image of the RealSense Viewer program earlier that is only in SDK 2.0, 

    0
    Comment actions Permalink
  • Lsk111919

    Thanks to you, I solved the problem well. Is there any website that allows you to use real sense in visual studio or unity?

    0
    Comment actions Permalink
  • MartyG

    I hope that the link will be useful for getting started with opening RealSense SDK 2.0 example projects in Visual Studio.

    https://www.intel.co.uk/content/www/uk/en/support/articles/000030463/emerging-technologies/intel-realsense-technology.html 

    The Unity page for SDK 2.0 is here:

    https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity 

    0
    Comment actions Permalink
  • Lsk111919

    I really want to thank you for your help. Thank you very much for your help every time. I will study hard today. After graduating from high school, I felt that it was hard to make something by myself. So I feel your help is really big. Thank you very much.

    0
    Comment actions Permalink
  • MartyG

    It is much easier now than it used to be to create great computer projects using free tools without needing programming knowledge.  It is still good to have some programming knowledge, but tools make it easier to get started and not become discouraged.  Good luck with your work!

    0
    Comment actions Permalink
  • Lsk111919

    Is there a completed program that I can refer to among hand tracking or other examples?

    0
    Comment actions Permalink
  • MartyG

    There are a lot of example programs at the link below:

    https://github.com/IntelRealSense/librealsense/tree/master/examples 

    If you are on Windows and have installed the RealSense SDK 2.0 software, you can find a lot of the examples in a pre-made form that can be run right away by double-leftclicking on them.  They are located in this SDK folder location:

    C: > Program Files (x86) > Intel RealSense SDK 2.0 > Tools

    Hand tracking examples are hard to find.  As an introduction to the subject, you could start off with the free 30 day trial version of Cubemos Skeleton Tracking SDK.  It is a very good introduction to body tracking.

    https://www.intelrealsense.com/skeleton-tracking/ 

    For hand tracking and gesture recognition, the commercial software Nuitrack SDK also has a trial version.  Instead of a 30 day trial, it limits use to 3 minutes at a time.  It may therefore be a good option if you need to use the program for more than 30 days.  It also has an affordable subscription rate of $7.99 a month for the full time-unrestricted version.

    https://nuitrack.com/ 

    If you would like to learn advanced hand and body tracking with RealSense, Intel has a free tutorial video on the subject here:

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

    0
    Comment actions Permalink
  • Lsk111919

    I'm trying using unity. When executed, the error "all compiler errors have to be fixed before you can enter play mode" occurs.

    0
    Comment actions Permalink
  • Lsk111919

    It's just a problem in the process of downloading and executing asset.

    0
    Comment actions Permalink
  • MartyG

    Are you trying to import into your Unity project the RealSense Unity package for the RealSense SDK 2.0 please?

    https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity 

     

    0
    Comment actions Permalink
  • Lsk111919

    Is there an example of a change in hand gestures?

    0
    Comment actions Permalink
  • MartyG

    If you need to integrate RealSense hand gesture recognition into Unity then the commercial program Nuitrack SDK is likely to be your best option.  It has a subscription fee of $7.99 a month or $39.99 a year but has a free trial version where it can be used for up to three minutes at a time.

    https://nuitrack.com/ 

    Nuitrack's accompanying free example pack on the Unity Asset Store has a gesture recognition tutorial project called Interactive Multi-Touch Gallery

    https://assetstore.unity.com/packages/templates/packs/nuitrack-skeleton-tracking-127675 

    0
    Comment actions Permalink
  • Lsk111919

    How to Get a License cubemos skeleton tracking?

    0
    Comment actions Permalink
  • MartyG

    The Cubemos Skeleton Tracking SDK can also be integrated with Unity and has a 30 day free trial and "body gesture" recognition.  As far as I know it does not have hand gesture recognition though.

    https://www.intelrealsense.com/skeleton-tracking/ 

    0
    Comment actions Permalink

Please sign in to leave a comment.