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

Throttle Module FPS #390

Open
Vinayak-YB opened this issue Dec 3, 2024 · 0 comments · May be fixed by #391
Open

Throttle Module FPS #390

Vinayak-YB opened this issue Dec 3, 2024 · 0 comments · May be fixed by #391

Comments

@Vinayak-YB
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
In a pipeline a module running at a higher fps may need to be throttled to match successive module requirements. The throttling is limited by source module fps. We need a logic to throttle a module (non-source) to required fps within a pipeline.

Describe the solution you'd like
The solution is to skip frames during step() using skipN and skipD. The skip logic needs an improvement as the skipRatio may get complex values and cannot be simplified.

Describe alternatives you've considered
Alternate solution is to add the skip logic within the module instead of framework level. This may work as a temporary solution but the above solution is permanent and tested.

@Vinayak-YB Vinayak-YB linked a pull request Dec 5, 2024 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant