View my account

T265 crashes when used with D435 (Raspberry Pi, Ubuntu, Python)

Comments

5 comments

  • MartyG

    As the Pi3 uses USB2, only pose data can be accessed and not fisheye (which needs USB3).  As your T265  code only references pose though, there is not likely a problem with that.

    Looking through the code, it looks as though the same pipeline - rs.pipeline() - is being started twice (once for each device).  So once the pipeline is started once by one device, you are calling the pipeline to start again for the second device.

    Below is a link to some Python code posted by a RealSense user using T265 and D435 together so you can compare it to your own code

    https://github.com/IntelRealSense/librealsense/issues/3697#issuecomment-483089732

    0
    Comment actions Permalink
  • Magnus

    Thanks Marty,

    I hope i am creating two separate pipeline objects. But regardless, i think you are pointing me in the right direction! 

     

     

    0
    Comment actions Permalink
  • MartyG

    In the user example, it looks as though they are putting their separate pipelines in an array, so that in that same array, D435 is allocated array slot 0 and T265 is allocated array slot 1.

    0
    Comment actions Permalink
  • Magnus

    Unfortunately i get the same errors with the code in the example you linked to. Since i running it on a Pi 3B+ i will look into power and other USB-related issues. Next thing to try is to run the same code on my Mac.

    0
    Comment actions Permalink
  • Vishnuu
     
    Magnus
     

    Unfortunately i get the same errors with the code in the example you linked to. Since i running it on a Pi 3B+ i will look into power and other USB-related issues. Next thing to try is to run the same code on my Mac.

     

    ----------------------------------------------------------------------------

     

    Hi magnus,

     

    Any luck trying to run the code sucessfully on MAC? I'm having a similar issue on another board called the Odroid which has two USB 3.0 ports

    0
    Comment actions Permalink

Please sign in to leave a comment.