• DepthAI-v2
  • Couldn't read data from stream: 'XX' (X_LINK_ERROR)

  1. at mostly "random points in time", we are getting the following error: 'Couldn't read data from stream: 'XX' (X_LINK_ERROR). We have of course googled the issues and saw multiple people having similar issues.

  2. We are using the official Luxonis depth-ai ROS2 driver from you to query camera images.

i.e. it seems to have a tendency to occur after having operated the cameras for a while outdoors. So our current theory is that

  • Error might be due to the cold temperature (around 0 degrees Celsius)

  • Error might be caused by power supply issues

  • Error might be caused by the vibration of the drone

Please help us!

    SimonKlenk
    Are these USB or POE devices?
    Low temperature (0°C) is unlikely to worsen performance, power supply might.. Maybe the host isn't fast enough to handle the streams you are sending? Cant read data from stream usually signifies a block in the pipeline.

    Thanks,
    Jaka

    Dear Jaka,

    thanks for the quick reply.

    • The host experiences a constant workload throughout all experiments, so it should be fast enough (error often only appears after a few hours outdoors)
    • "Cant read data from stream usually signifies a block in the pipeline." That is interesting. In which pipeline specifically? Can you please specifiy a bit more details what this implies?
    • "power supply might.." when debugging the coming days, we will make sure power supply is fully charged for all runs and is not causing an issue

    Best

    Simon

      SimonKlenk Cant read data from stream usually signifies a block in the pipeline." That is interesting. In which pipeline specifically? Can you please specifiy a bit more details what this implies?

      Likely some queue is filled and stops the pipeline from producing frames, which can sometimes cause the error above. What kind of pipeline are you running?

      Thanks,
      Jaka