ZED2i data flip intermittently....

Hello.

I have a question about the ZED2i data flip intermittently when i used ROS2 package of ZED2i in GitHub and my recognize program.

And my program is using YOLO-v11 for detecting some of the object.

When running ZED2i using ROS2 package without my recognize program, ZED2i data is not flip.

But running with my program, ZED2i data is flip intermittently…

I didn’t touch anything when ZED2i running with my program.

Then, I was check ZED2i raw data and subscribed ZED2i data in my program.

As a result, ZED2i raw data was flipped when i checked.

I don’t know why raw data was flipped.

Somebody please help me about in this happening…

Hi @NGS
Welcome to the Stereolabs community.

What do you mean by “ZED2i data flip intermittently”?

Can you share a video showing the problem?

Hi, Myzhar.

I wanted to upload a recorded video or some of picture about this issue, but I can’t since I’m a new user. haha

So I attached a replacement image instead of the video.

Hi @NGS
The problem that you reported is a typical case of frame tearing that different factors can cause:

  • The host is overloaded, so the USB 3 controller buffer is not flushed in time, causing overflows.
  • The USB 3 connection is not stable

USB 3 connection instability can be caused by:

  • A damaged USB 3 cable
  • USB 3 extenders
  • USB 3 hubs
  • Unstable USB 3 port
  • Cable placed close to the power cables of other devices
  • other factors

Please verify that none of the factors listed above are affecting your setup.

Hi, @Myzhar

Thank you for your reply.

I used a USB 3.0 cable for the ZED2i and tested it on three PCs (two laptops and a desktop), all of which have USB 3.0 ports.

I suspected that the cable was damaged, so I purchased a new USB 3.0 cable for the ZED2i.

Do you know if there are any other factors, apart from hardware, that could cause frame tearing?

An original Stereolabs cable, or from third-party?
How long is the cable?

CPU overload is a possible software cause.

I used original Stereolabs cables that types are 3m, 5m.

Are you ingesting external power into the cables by using the micro-usb connector?
This could improve the behavior if your USB3 port is not providing enough power to the camera.