Couldn't read data from stream: 'XX' (X_LINK_ERROR)
- 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.
- 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
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?
- 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"
- what communication issues are you refering to? commuication between luxonis and jetson?
thanks
@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.