-
Notifications
You must be signed in to change notification settings - Fork 288
Description
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues.
- This issue is not a question, bug report, or anything other than a feature request directly related to this project.
Proposal
In the ROS2 wrapper 5.0 (Jazzy) with ZED SDK 5.0, setting low frame-rates via the general.pub_frame_rate and related parameters reduced the internal processing frequency.
In the current ros2 wrapper (tested on jazzy_5.1 or master branch) with ZED SDK 5.1, this behavior changed. The wrapper now explicitly sets: mInitParams.grab_compute_capping_fps = 0.0f;
I found that restoring the original behavior: mInitParams.grab_compute_capping_fps = static_cast<float>(mVdPubRate); again makes frame-rate settings directly influence the processing load significantly.
I would very much appreciate it, if this feature will be brought back in the future.
Use-Case
For many robotics applications, especially mobile robots or battery-powered platforms, it is highly beneficial to reduce compute load when high-frequency depth/object processing is unnecessary.
Being able to cap the grab/compute rate allows lower power consumption, reduced heat generation, increased battery runtime, lighter GPU/CPU load when operating in low-demand modes.
This was previously possible in zed-ros2-wrapper 5.0 but is no longer available.
Anything else?
Maybe an additional config parameter for this, such as general.grab_compute_capping_fps would be beneficial.
Thank you!