IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.63k stars 4.83k forks source link

T265 stops unexpectedly on Realsense Viewer 2.42.0 on Raspberry Pi 4 Ubuntu 20.4 #8374

Open MarcoAndrade26 opened 3 years ago

MarcoAndrade26 commented 3 years ago

Required Info
Camera Model T265
Firmware Version 0.2.0.951
Operating System & Version Ubuntu 20.04.2 LTS && Ubuntu 18 LTS
Kernel Version (Linux Only) 5.4.0-1028-raspi
Platform Raspberry Pi 4 4Gb
SDK Version 2.42.0
Language C++
Segment Robot

Issue Description

We have been trying to use T265 on Realsense Viewer, but after a while and randomly, it shows us the error "No Frames Recieved!"

See image: image

Trying to solve it, I click on "Hardware reset" and on console It shows me this: image

Then I close realsense viewer, open it again and camera works fine for a while, but then it stops and shows me the same error "No Frames Recieved". I tried with several solutions:

NOTE: cmake ../ -DFORCE_LIBUVC=true -DCMAKE_BUILD_TYPE=release -DBUILD_WITH_TM2=true (Those buildflags were used)

zlite commented 3 years ago

Same problem here on Rpi4. Using Python wrapper, the error is "frame didn't arrive within 5000"

MarcoAndrade26 commented 3 years ago

@RealSenseSupport @RealSense-Customer-Engineering @RealSenseCustomerSupport

PradoCg commented 3 years ago

I have the same problem, in my case the Camera connects for a few seconds and disconnects itself. Incredible as the manufacturer has no solution for this.

MarcoAndrade26 commented 3 years ago

I still cannot solve this issue, I am going to buy D435i camera. I do not know why Intel launch a product if it is not going to give support.

JeremyBYU commented 3 years ago

I am also facing this issue. I had previously had everything working on the RPI4 on version 2.35. However now that I have updated to version 2.39+ the T265 stops working after a few seconds, sometimes a minute.

UPDATE: I was able to get the T265 working on RPI4 Ubuntu running standalone on RS 2.37, and 2.35. It does not freeze up and provides consistent messages. However if paired with an L515 and streaming together it (the T265 and sometimes L515) will begin to stop receiving messages after 30-60 seconds. I have looked through the RS debug files. Nothing indicates the problem. No errors on dmesg either. Moving on disappointingly to X86 SBC and it works fine.

Twentystudios commented 3 years ago

I’m having the exact same issue. Hope to see a solution for this soon.

DevepNoName commented 3 years ago

Have the same problem https://github.com/IntelRealSense/librealsense/issues/8779 : tried the RS 2.37, and 2.35 in Raspberry Pi Os (not in ubuntu) and realsense still doesnt work properly

csr-kick commented 3 years ago

6362

6707

6598

and many more... https://github.com/IntelRealSense/librealsense/issues/8779#issuecomment-816983561

Bercon commented 3 years ago

Facing similar issue on Raspberry PI 4 and Ubuntu 20.04.2 LTS using librealsense in C++, latest master branch built from sources. It runs fine for couple seconds and then crashes, often freezing the whole OS.

MarcoAndrade26 commented 3 years ago

Hello!

I believe it is due to the lack of memory in the Raspberry Pi. I changed to Jetson AGX Xavier and camera works fine