Azure-Kinect-Sensor-SDK
Azure-Kinect-Sensor-SDK copied to clipboard
LoggingManager error when create more than one body tracker
Describe the bug when create more than one k4abt_tracker_t using k4abt_tracker_create(), there will be an error says "Only one instance of LoggingManager created with InstanceType::Default can exist at any point in time." and the program crashes during the second "Initializing CUDA and ONNX Runtime..." section.
To Reproduce
- open two devices and open both cameras
- create first k4abt_tracker_t by k4abt_tracker_create()
- create second k4abt_tracker_t by k4abt_tracker_create()
- the error occurs
Expected behavior the second tracker was created successfully and program not crash
Desktop (please complete the following information):
- OS with Version: Windows 1803
- SDK Version: 1.1.1
Currently body tracking does not support multiple tracker instances in the same process. This is the same issue as reported in #519