# ZED2 Calibration for underwater application

**URL:** <https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322>\
**Category:** ROS1\
**Tags:** ros, calibration\
**Created:** [November 14, 2025, 12:43pm UTC](https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322 "2025-11-14T12:43:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alebenna](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@alebenna](https://community.stereolabs.com/u/alebenna)\
**Post date:** [November 14, 2025, 12:43pm UTC](https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322/1 "2025-11-14T12:43:58Z")

</div>

Hi, I wanted to use my ZED2 camera to perform 3D reconstruction in underwater environments. To do this, I need to recalibrate my camera and can’t use the ZED Calibration tool, but I was thinking of using images taken with the ZED2 in a waterproof case. I’ve already read the link [How to Calibrate your ZED camera with OpenCV - Stereolabs](https://www.stereolabs.com/docs/opencv/calibration), but I’m using ROS1 to run rtab-map. I was also thinking of using Matlab’s Stereo Camera Calibration because it’s very intuitive for obtaining my calibration parameters. How can I run zed\_wrapper and set the new calibration parameters? I see that my /camera\_info topics on ROS1 only change if I change the .config file. Thanks.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 14, 2025, 4:01pm UTC](https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322/2 "2025-11-14T16:01:01Z")

</div>

Hi @alebenna  
Welcome to the [Stereolabs](https://www.stereolabs.com/) community.

I recommend you upgrade to ROS 2 for two reasons:

1. ROS 1 is EOL and it’s no longer supported
2. The ROS 2 Wrapper allows you to set an OpenCV-like custom calibration file: [zed-ros2-wrapper/zed\_wrapper/config/common\_stereo.yaml at master · stereolabs/zed-ros2-wrapper · GitHub](https://github.com/stereolabs/zed-ros2-wrapper/blob/master/zed_wrapper/config/common_stereo.yaml#L33)

---

<div class="post-metadata">

**Author:** ![alebenna](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@alebenna](https://community.stereolabs.com/u/alebenna)\
**Post date:** [November 14, 2025, 4:10pm UTC](https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322/3 "2025-11-14T16:10:52Z")

</div>

Yes I know that ROS1 is old but the work group with which I am doing the thesis has not yet switched to ROS2. So isn’t there a way to specify my calibration parameters with ROS1? I could modify the .config file alternatively but there are many more parameters than those obtained from my calibration. Thanks again.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 14, 2025, 4:16pm UTC](https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322/4 "2025-11-14T16:16:42Z")

</div>

No, the feature is not available in the ROS Wrapper and we will never add it because it’s no longer maintained.

The code is open source, you can manually add it using the ROS 2 Wrapper as example.

---

<div class="post-metadata">

**Author:** ![alebenna](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@alebenna](https://community.stereolabs.com/u/alebenna)\
**Post date:** [November 14, 2025, 4:22pm UTC](https://community.stereolabs.com/t/zed2-calibration-for-underwater-application/10322/5 "2025-11-14T16:22:25Z")

</div>

OK I got it, thank you very much.
