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

switch USB only when the popped frame is valid #165

Merged
merged 4 commits into from
Dec 7, 2023

Conversation

Fixstars-momoko
Copy link
Contributor

For a single sensor with 2 USB cables, switch the target USB only when the popped frame is valid (grater than the prev frame count)

Prior to the modification(frame-drop rate 50%)

USB0       3   5   7   9 
USB1         2   4   6   8 

chosen USB 0 1 0 1 0 1 0 1 
obtained   3 X 5 X 7 X 9 X 

Following the modification(frame-drop rate 13%)

USB0       3   5   7   9 
USB1         2   4   6   8 

chosen USB 0 1   1 0 1 0 1 0 
obtained   3 X   4 5 6 7 8 9

@Fixstars-momoko Fixstars-momoko marked this pull request as ready for review December 5, 2023 18:05
@iitaku iitaku merged commit 3cb109b into fixstars:master Dec 7, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants