Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't read data from stream: 'XX' (X_LINK_ERROR) #1097

Open
knelk opened this issue Feb 5, 2025 · 3 comments
Open

Couldn't read data from stream: 'XX' (X_LINK_ERROR) #1097

knelk opened this issue Feb 5, 2025 · 3 comments

Comments

@knelk
Copy link

knelk commented Feb 5, 2025

  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

@Erol444
Copy link
Member

Erol444 commented Feb 6, 2025

Hi @knelk ,
Which camera do you have and how do you power it? Usually it's due to either power/communication issue, like perhaps the device brownouts. Also, what kind of pipeline (stereo depth, AI, video encoding...) are you running on there?

@knelk
Copy link
Author

knelk commented Feb 6, 2025

  • we have the luxonis oak d Wide OV9782.
  • we power through an external battery
  • we are running no network on the luxonis chip, simply streaming left grayscale and middle RGB image to the jetson via ros2 driver. all other pipelines are disabled (stereo, depth etc). the specific pipeline is called "StereoRGB"
  1. what communication issues are you refering to? commuication between luxonis and jetson?

thanks

@Erol444
Copy link
Member

Erol444 commented Feb 6, 2025

@knelk after how long does it happen? could it be that battery can't deliver enough power, eg that voltage dips a bit because jetson does some heavy compute for a few ms? Yes, comms between OAK cam and Jetson. If it's power-related I'd suggest to add some reconnection logic, so if device disconnects it will auto-connect to it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants