-
Notifications
You must be signed in to change notification settings - Fork 139
Add explain about fps #177
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -380,6 +380,9 @@ The following are the launch parameters available: | |||||||||||||||||||||||||||
| - `color_width`, `color_height`, `color_fps`: The resolution and frame rate of the color stream. | ||||||||||||||||||||||||||||
| - `ir_width`, `ir_height`, `ir_fps`: The resolution and frame rate of the IR stream. | ||||||||||||||||||||||||||||
| - `depth_width`, `depth_height`, `depth_fps`: The resolution and frame rate of the depth stream. | ||||||||||||||||||||||||||||
| If you set `sync_mode` to `free_run`, the `color_fps` value can be different from the other values. | ||||||||||||||||||||||||||||
| `depth_fps` and `ir_fps` should always be the same. | ||||||||||||||||||||||||||||
| - `sync_mode`: The mode of data synchronization. Acceptable values are `standalone` and `free_run` | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
| - `sync_mode`: The mode of data synchronization. Acceptable values are `standalone` and `free_run` | |
| - `sync_mode`: The mode of data synchronization. Acceptable values are `free_run`, `standalone`, `primary`, `secondary`, `secondary_synced`, `software_triggering`, and `hardware_triggering`. |
Copilot
AI
Feb 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The explanation about FPS constraints for free_run mode is helpful, but it's incomplete. According to the SDK documentation in ObTypes.h:
- In
free_runmode: Color and Depth can be set to different frame rates - In
standalonemode: Color and Depth should be set to the same frame rates, and they will be synchronized
The current explanation only addresses free_run mode. Consider adding information about standalone mode's FPS requirements as well, and clarify that in modes other than free_run, all streams (color, depth, IR) should use the same FPS value for proper synchronization.
| If you set `sync_mode` to `free_run`, the `color_fps` value can be different from the other values. | |
| `depth_fps` and `ir_fps` should always be the same. | |
| - `sync_mode`: The mode of data synchronization. Acceptable values are `standalone` and `free_run` | |
| If you set `sync_mode` to `free_run`, `color_fps` can be different from `depth_fps` / `ir_fps`. In this mode, color | |
| and depth run independently, but `depth_fps` and `ir_fps` should still be set to the same value to keep depth and IR | |
| synchronized. | |
| In `standalone` mode (and, in general, in any synchronized mode), all active image streams (color, depth, IR) should | |
| use the same FPS value so that they are properly synchronized. | |
| - `sync_mode`: The mode of data synchronization. Acceptable values are `standalone` and `free_run`. In `standalone` | |
| mode, color and depth run at the same FPS and are synchronized. In `free_run` mode, they can run at different FPS and | |
| are not synchronized by the device. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The added documentation about FPS constraints helps address issue #97, but it doesn't fully explain why the FPS settings might not work as expected. The issue mentions that setting
color_fpsto 5 resulted in 30fps instead.The documentation should clarify that:
free_run, the camera hardware enforces synchronized frame rates, which may override user-specified FPS valuesThis would provide clearer guidance for troubleshooting FPS-related issues.