Skip to content

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

Open
@prmehta24

Description

@prmehta24

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions