VolumetricCapture icon indicating copy to clipboard operation
VolumetricCapture copied to clipboard

Device_repository.exe cannot find device_respository.json

Open tylergibson opened this issue 6 years ago • 8 comments

image

Have spent an hour trying every combination imaginable to provide it a path. No matter what is provided, a FATAL error results. Simply copied the default device_repository.json to this directory.

tylergibson avatar Apr 27 '20 02:04 tylergibson

Hi Tyler, can you please attach the file (device_repository.json)?

zokin avatar Apr 27 '20 07:04 zokin

Hi @zokin I also got the same problem using Azure Kinect. And here is my json file device_repository.zip

KA4

Basically I changed the Serial and Firmware to my own kinect specs as below.
Screenshot_20200501083705

But still I can't add or list any Kinect using device_repository.exe. Not sure if I made any mistakes here.please let me know if someone solved this.

xudi1227 avatar May 01 '20 00:05 xudi1227

Btw here is my command window image

xudi1227 avatar May 01 '20 00:05 xudi1227

Hi Johnny,

it seems that you are missing the -c 0 or --cam_type 0 argument when calling the device_repository.exe tool.

As the help also indicates, these are needed to disambiguate between the sensors.

The documentation about this is missing, but will be added/improved the coming days as well.

Thanks for your time and help in pinpointing issues.

zokin avatar May 01 '20 10:05 zokin

Hello all,

Another important missing point of the the K4A alpha version is related to the new shaders for the K4A point cloud visualization which causes a crash. Please, find attached the missing shaders and place them in the "Resources" folder.

Sorry for the inconvenience but this release was not tested enough due to the sudden lock-down, as we have already said. Since we are coming back probably next week, we are going to fix the identified issues asap.

Thank you for your time.

depth_cloud_k4a_shaders.zip

tofis avatar May 01 '20 14:05 tofis

Hi Johnny,

it seems that you are missing the -c 0 or --cam_type 0 argument when calling the device_repository.exe tool.

As the help also indicates, these are needed to disambiguate between the sensors.

The documentation about this is missing, but will be added/improved the coming days as well.

Thanks for your time and help in pinpointing issues.

This isn't possible, because as @xudi1227 also points out, the device_repository.exe tool always fails due to not locating the json file. So we can't run it. I also attempted to manually add my Kinects to the json file as @xudi1227 did, with no success.

Having a source release would make it much easier for us to debug and provide improvements ;)

tylergibson avatar May 02 '20 06:05 tylergibson

For the ones who use the new K4A alpha version, the recommended steps with respect to the correct usage of device_repository tool are given below:

  • Assuming that there is no K4A device appropriately added in the "device_repository.json", delete any existing "device_repository.json" you copied in the root folder of the device_repository tool from other version or other folder, in order to make it clean from scratch.
  • Place in the root folder of the device_repository tool the "depthengine_2_0.dll" which is missing (you can copy it from "remote_eye\bin" folder).
  • Connect the first K4A device on a USB3 port (ensure that the device has been detected and runs properly, for instance using the MS Official K4A viewer).
  • Run the "device_repository.exe" in the cmd using these arguments device_repository.exe --add {device_name_you_prefer} --cam_type 0.
  • After that you are going to see the log you see in the screenshot below, while a new "device_repository.json" is going to be created. image
  • Then, running device_repository.exe --list, you are going to see your device listed if everything has been completed correctly. image I hope that it will work for you. As said, we hope at the end of the next week to have an actual release with documentation.

tofis avatar May 02 '20 11:05 tofis

Updated documentation with respect to the device repository is now available.

zuru avatar Oct 12 '20 14:10 zuru