OpenKinect/libfreenect

Can we kill the sync_get_depth and sync_get_video calls after a specific amount of time?

prmehta24 opened this issue · 0 comments

I want to start recording rgb and depth data as soon as my PC starts up.

I have a Python script using sync_get_depth and sync_get_video to get frames and save to disc. The script runs on PC startup. However, sometimes when we call these functions, they get stuck waiting.

Does libfreenect support cancellation by design? Is there a way to kill/stop these function calls if they get stuck waiting(after x amount of time)?

This usually happens on startup. The first few calls get stuck, but once it starts working there are no issues.