Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
prmehta24 opened this issue Jul 12, 2023 · 0 comments

Comments

@prmehta24
Copy link

prmehta24 commented Jul 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant