robotology / icub-tech-support

Virtual repository that provides support requests for individual robots
GNU General Public License v2.0
20 stars 2 forks source link

ergoCub 1.0 S/N:000 – `realSense` device stops streaming images when running teleoperation #1864

Open mebbaid opened 3 months ago

mebbaid commented 3 months ago

Robot Name 🤖

ergoCub 1.0 S/N:000

Request/Failure description

The realsense stops streaming images when running teleoperation.

Detailed context

Today we tried to test the teleoperation on the SN000. At some point the robot stops sending rgb images and the operator view is stuck. I tried to read the /depthCamera/rgbImage:o port directly which showed no data being sent. We restarted the device, and again after a couple of minutes of teleoperation the streaming crashes.

I tried running the device from terminal inside the head and it throws this error realsense.txt

Additional context

No response

How does it affect you?

No response

maggia80 commented 3 months ago

@mebbaid I remember we updated the FW of the realsense camera at some point. Could it be that ergoCub SN00) still doesn't have the upgraded FW? Otherwise is an hardware issue

S-Dafarra commented 3 months ago

Thanks @maggia80! We just did that. The version was 5.14, now we updated to 5.16 following https://github.com/robotology/icub-tech-support/issues/1797#issuecomment-2102842716

We tried to move the camera tilt from one limit to the other for a minute or so and the camera feed was stable. We can check if it keeps happening

S-Dafarra commented 2 months ago

I have been told this issue occurred again recently during some experiments run by @mebbaid and @illkid3. I am not sure about the context, but it might be related.

S-Dafarra commented 2 months ago

cc @fedeceola @SimoneMic

fedeceola commented 2 months ago

Hi, this issue with the realsense occurred also to us while running some experiments.

AntonioConsilvio commented 2 months ago

Hi! I will check the Realsense hardware connection soon.

steb6 commented 1 month ago

I wanted to add that this happened to me while doing teleoperation, but not with the usual perception demo

AntonioConsilvio commented 1 month ago

Hi, today with the help of e we checked the hardware connection.

Maybe there could be a loose connection of the USB-C on the Xavier side.

We inserted the connector better and checked that it worked for about 1 hour.

Everything seemed to work properly, however leave me feedback regarding the RealSense operation when you try it out.

cc @mebbaid @S-Dafarra @steb6 @fedeceola @SimoneMic

S-Dafarra commented 1 month ago

It is still happening unfortunately

S-Dafarra commented 1 month ago

@AntonioConsilvio applied some more padding to keep the connector stable.

Moreover, I realized that we were using a very old librealsense2 SDK compiled from source. I have uninstalled it and installed a more recent SDK version following https://github.com/IntelRealSense/librealsense/blob/e1688cc318457f7dd57abcdbedd3398062db3009/doc/installation_jetson.md#4-install-with-debian-packages

Now the connection seems stable. We have been using for some hours continuously and we did not notice issues.

Probably this is good to go

filippoborgogni commented 1 month ago

Hi! We replaced the USB cable that connects the realSense to the Xavier. The old cable didn't seems damaged, but we replaced it to make a try. Let us know if the problem happens again! Cc @S-Dafarra @mebbaid @steb6 @AntonioConsilvio

S-Dafarra commented 2 weeks ago

Unfortunately this occurred also during the ECCV demo

AntonioConsilvio commented 2 weeks ago

Hi @S-Dafarra, just to clarify, the intervention mentioned by @filippoborgogni was performed after ECCV!

S-Dafarra commented 2 weeks ago

@SimoneMic did this happen during Festival della Scienza by any chance?

SimoneMic commented 2 weeks ago

No @S-Dafarra, we had flawless operation from the realsense for three days.