This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
Ubuntu 18.04 - capture with multiple units on the same host machine not working #850
Labels
Bug
Something isn't working
Code Sample
This issue is related to a code sample
Triage Needed
The Issue still needs to be reviewed by Azure Kinect team members.
I have a 2 Azure Kinect camera setup on Ubuntu 18.04 with an Nvidia 1080 GPU. I have been attempting to follow these step to record with both cameras at the same time using the external sync: https://docs.microsoft.com/en-us/azure/kinect-dk/record-external-synchronized-units#recording-when-multiple-units-connected-to-single-host-pc
I am able to successfully start the subordinate camera, but whenever I attempt to start the master camera, I get an error (shown below). In fact, any attempt to view/capture color + depth from 2 cameras at once is unsuccessful.
To Reproduce
Expected behavior
A .mkv file from both the cameras with equal frame counts.
Logs
This is the error I receive whenever I attempt to start capture from a second Kinect camera connected to the same computer as another Kinect that is already capturing:
k4arecorder --device 0 --external-sync master --imu OFF -e -8 -r 5 -l 5 output-0.mkv
Device serial number: 000873393812
Device version: Rel; C: 1.6.102; 😧 1.6.75[6109.7]; A: 1.6.14
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=12
[2019-10-16 10:45:53.241] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/usbcommand/usbcommand.c (636): usb_cmd_io(). Error calling libusb_bulk_transfer for rx, result:LIBUSB_ERROR_IO
[2019-10-16 10:45:53.241] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/usbcommand/usbcommand.c (739): usb_cmd_io(usbcmd_handle, cmd, p_cmd_data, cmd_data_size, p_data, data_size, NULL, 0, bytes_read, &cmd_status) returned failure in usb_cmd_read()
[2019-10-16 10:45:53.241] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/depth_mcu/depth_mcu.c (389): usb_cmd_read( depthmcu->usb_cmd, DEV_CMD_NV_DATA_GET, (uint8_t *)&nv_tag, sizeof(nv_tag), calibration, cal_size, bytes_read) returned failure in depthmcu_get_cal()
[2019-10-16 10:45:53.241] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/depth/depth.c (439): depthmcu_get_cal(depth->depthmcu, depth->calibration_memory, DEPTH_CALIBRATION_DATA_SIZE, &depth->calibration_memory_size) returned failure in depth_start()
[2019-10-16 10:45:54.241] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/depth_mcu/depth_mcu.c (359): cmd_status == CMD_STATUS_PASS returned failure in depthmcu_depth_stop_streaming()
[2019-10-16 10:45:54.241] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/depth_mcu/depth_mcu.c (362): depthmcu_depth_stop_streaming(). ERROR: cmd_status=0x00000063
[2019-10-16 10:45:54.242] [error] [t=26454] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (891): depth_start(device->depth, config) returned failure in k4a_device_start_cameras()
Runtime error: k4a_device_start_cameras(device, device_config) returned 1
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: