stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 392 forks source link

Enable Dynamic Resolution Change for ZED Cameras in ROS2 Wrapper #954

Open jackie-wayland opened 2 months ago

jackie-wayland commented 2 months ago

Preliminary Checks

Proposal

I have encountered a limitation regarding the ability to change the camera resolution dynamically. Currently, the grab_resolution parameter is read-only, and any changes require restarting the node. This limitation poses challenges in scenarios where dynamic resolution adjustment is necessary, such as balancing performance and quality during real-time operations.

I would like to request the implementation of dynamic resolution change functionality within the ZED ROS2 wrapper, similar to what is available in the ZED_Explorer application. In ZED_Explorer, the resolution can be modified on the fly without restarting the camera or application. Bringing this capability to the ROS2 wrapper would significantly enhance flexibility and usability in robotic applications, allowing developers to adjust resolution based on real-time requirements.

Use-Case

Bringing this capability to the ROS2 wrapper would significantly enhance flexibility and usability in robotic applications, allowing developers to adjust resolution based on real-time requirements.

During robotic operations, different tasks may require different resolutions. For instance, high-resolution images may be necessary for detailed inspection, while lower resolutions might be preferred for faster processing during navigation or obstacle avoidance.

Anything else?

No response

Myzhar commented 2 months ago

Hi @jackie-wayland this is not possible. The ZED SDK requires closing and re-opening the camera to change resolution and the Wrapper is designed according to this feature,