Deploying Azure Kinect on RaspberryPi Ubuntu container

Siyu Lei 0 Reputation points
2024-06-11T13:36:33.0933333+00:00

Hi,

I am trying to deploy the SDK for Azure Kinect on a RaspberryPi5, with Ubuntu20.04 container in Docker. Actually the SDK was successfully installed on the container after trying many solutions, and the container could already connect to the device through USB connection. The final problem is, it always throws this problem when trying to start the .exe file to record the data from sensors. And the k4arecorder.exe just returns without output.

Don't know where and how to check the source of this error. I have spent a lot of time deploying it, and tried different solutions. It is only this step from finishing it.

[2024-06-03 18:58:57.554] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/usbcommand/usbcommand.c (370): find_libusb_device(). Unable to open LIBUSB at index 0

[2024-06-03 18:58:57.555] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/depth_mcu/depth_mcu.c (68): usb_cmd_create(USB_DEVICE_DEPTH_PROCESSOR, device_index, NULL, &depthmcu->usb_cmd) returned failure in depthmcu_create()

[2024-06-03 18:58:57.555] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (133): depthmcu_create(index, &device->depthmcu) returned failure in k4a_device_open() Runtime error: k4a_device_open() failed

[2024-06-03 18:58:57.556] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (53): k4a_device_t_get_context(). Invalid k4a_device_t 0xfffffde14d70

[2024-06-03 18:58:57.556] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (959): Invalid argument to k4a_device_get_serialnum(). device_handle (0xfffffde14d70) is not a valid handle of type k4a_device_t Runtime error: k4a_device_get_serialnum(device, serial_number_buffer, &serial_number_buffer_size) returned 1

[2024-06-03 18:58:57.556] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (53): k4a_device_t_get_context(). Invalid k4a_device_t 0xfffffde14d70

[2024-06-03 18:58:57.556] [error] [t=4665] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (201): Invalid argument to k4a_device_close(). device_handle (0xfffffde14d70) is not a valid handle of type k4a_device_t

image image

Looking forward to any advice!

Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
294 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.