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

Set the frame rate using leapuvc #19

Open
abdedixit opened this issue Aug 10, 2022 · 0 comments
Open

Set the frame rate using leapuvc #19

abdedixit opened this issue Aug 10, 2022 · 0 comments

Comments

@abdedixit
Copy link

Hi,

I am trying to use leapuvc to control the frame rate of the leap motion controller. The PDF documentation LeapUVC-Manual.pdf says that the gain control (uvc_set_gain) is multiplexed, and controls the analog gain, FPS ratio and dark frame interval. It then gives the selector bits and a formula for the PACK_VALUE, but it is not clear to me how to set the frame rate.

I wanted more clarity on the following:
(a) What is the FPS ratio? The documentation specifies it adjusts the framerate as a proportion of the maximum for the configured resolution, but I don't know what these maximum values are for each resolution.
(b) How do we set the FPS ratio independent of the analog gain and the dark frame interval?

Please can someone answer the above with examples? Thanks in advance.

Best,
AB

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