microsoft / Azure-Kinect-Sensor-SDK

A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
https://Azure.com/Kinect
MIT License
1.47k stars 613 forks source link

The camera does not work properly when plugged into another usb serial port #1925

Open Cats-eat-peppercorns opened 1 year ago

Cats-eat-peppercorns commented 1 year ago

The device I am using is a jetson nx and my project requires serial communication, I need to send some numbers from the image processing to the microcontroller. However, when I don't plug in the serial usb (i.e. when I just plug in the camera), my program works fine and I can process the colour and depth maps normally, but when I plug in the serial usb, it reports an error, initially with a series of "releasing capture early due to full queue: depth " and then "usb_cmd_libusb_cb(). transfer status of 00000001 unexpected," followed by "usb_cmd_libusb_cb(). Error LIBUSB transfer failed, result:LIBUSB_TRANSFER_ERROR", and finally my imshow window goes dark and the colour stream disappears "releasing capture early due to to full queue: color";

My GPU should be sufficient to handle the data stream, but after plugging in the serial usb that transfers data to the microcontroller, it reports this error

The picture below shows one of the situations when the serial port is plugged in: IMG_20230515_111208

The picture below shows the connection of my usb. Please note that this hub is necessary as other errors will be reported if the camera is connected directly to the computer. 1684121971219

The picture below shows the camera working properly with my usb serial port unplugged 1684122077845

I have tried unplugging the mouse usb and have tried connecting the usb serial port to the hub and have had the hub replaced with another usb port.

Could this be due to a conflict in the serial data? But my usb serial port isn't sending or receiving data. Simply plugging it in makes the camera not work