# ZED 2i parameter tuning questions

**URL:** <https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789>\
**Category:** ROS1\
**Created:** [May 11, 2025, 11:12am UTC](https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789 "2025-05-11T11:12:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon1140889141](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@Simon1140889141](https://community.stereolabs.com/u/Simon1140889141)\
**Post date:** [May 11, 2025, 11:12am UTC](https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789/1 "2025-05-11T11:12:24Z")

</div>

Hi, it’s me again 👋

I’m still working on integrating the ZED 2i with my visual-inertial SLAM pipeline, and I only subscribe to:

- /zed2i/zed\_node/left/image\_raw or /zed2i/zed\_node/left/image\_raw/compressed
- /zed2i/zed\_node/imu/data\_raw and/or /imu/data

I’ve carefully reviewed the documentation, previous answers, and some GitHub issues — but I still have a few uncertainties about parameters in common.yaml, zed2i.yaml, and sync.yaml.

* * *

### 1. About pub\_frame\_rate and grab\_frame\_rate

What is the recommended relationship between these two?

- When should pub\_frame\_rate \< grab\_frame\_rate?
- Can they be equal (e.g. both 30)? Would that risk frame drops due to timing jitter or CPU/GPU load?

* * *

### 2. About /zed2i/zed\_node/imu/data

According to the [official docs](https://www.stereolabs.com/docs/ros/zed-node):

> imu/data: Accelerometer, gyroscope, and orientation data in Earth frame

Does this mean that this sensor data `/imu/data` provides orientation computed by internal sensor fusion (VRU instead of AHRS)?

* * *

### 3. About sensors\_timestamp\_sync in common.yaml

According to earlier issue [#538](https://github.com/stereolabs/zed-ros-wrapper/issues/538), if I set:  
`pub_frame_rate: 30`, `sensors_timestamp_sync: true`, `max_pub_rate: 200`.  
Will this result in IMU messages being published at ~30Hz (roughly matching camera rate), and is it therefore not recommended to set sensors\_timestamp\_sync to true?  
Or will it still publish at 200Hz unless I subscribe to an image topic?

* * *

### 4. About sync.yaml

This file seems related to RgbdSensorsSyncNodelet, but I’m only using the raw left camera and IMU. So:

- Can I ignore this file altogether in my case?
- If not, what does approx\_sync: false do in a system with 30Hz images and 200Hz IMU?
- What exactly does queue\_size control?
- What do sub\_imu and sub\_mag enable — is this for internal fusion, TF matching, or bag alignment?

* * *

### 5. Kalibr extrinsics and 3D visualization

I plan to calibrate the camera-IMU extrinsics using Kalibr.

- The frame\_id of /zed2i/zed\_node/left\_raw/image\_raw\_gray is `zed2i_left_camera_optical_frame`
- The frame\_id of /zed2i/zed\_node/imu/data is `zed2i_imu_link`

Can I confirm that:

- `zed2i_left_camera_optical_frame` follows OpenCV’s RDF (right-down-forward) convention?
- `zed2i_imu_link` follows ROS’s FLU (forward-left-up) convention?

I want to visualize the result in 3D after calibration and ensure the transforms align with the physical layout, similar to what I’ve done before with another device using Kalibr.

* * *

### 6. ZED 2i sensor readout time

What is the readout time for the ZED 2i sensor?

* * *

Thanks again for your clarification!

---

<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:** [May 12, 2025, 7:40am UTC](https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789/2 "2025-05-12T07:40:55Z")

</div>

> [@Simon1140889141](#):
>
> When should pub\_frame\_rate \< grab\_frame\_rate?

When you do not need subscriber nodes to receive data at full grab rate, but you want to keep grab rate higher for internal ZED Node processing (i.e. Positional Tracking)

> [@Simon1140889141](#):
>
> Can they be equal (e.g. both 30)? Would that risk frame drops due to timing jitter or CPU/GPU load?

Yes, but this could require more computing power. It’s up to you to tune the parameters according to your requirements.

> [@Simon1140889141](#):
>
> Does this mean that this sensor data `/imu/data` provides orientation computed by internal sensor fusion (VRU instead of AHRS)?

Accelerations and Angular Velocities come from the IMU sensor. The ZED SDK provides orientation from positional tracking

> [@Simon1140889141](#):
>
> Will this result in IMU messages being published at ~30Hz (roughly matching camera rate), and is it therefore not recommended to set sensors\_timestamp\_sync to true?  
> Or will it still publish at 200Hz unless I subscribe to an image topic?

IMU data is internally retrieved at the full rate, but published in sync with the grabbed frames. This can be required for specific processing where you only need synchronized IMU data.

> [@Simon1140889141](#):
>
> This file seems related to RgbdSensorsSyncNodelet, but I’m only using the raw left camera and IMU

Are you still using the ROS node? We recommend to move to ROS 2. ROS 1 will be EOL at the end of May 2025 and the ZED ROS Wrapper is obsolete now.

> [@Simon1140889141](#):
>
> Can I ignore this file altogether in my case?

Yes

> [@Simon1140889141](#):
>
> - If not, what does approx\_sync: false do in a system with 30Hz images and 200Hz IMU?
> - What exactly does queue\_size control?

See [message\_filter](https://wiki.ros.org/message_filters) parameters for more information.

> [@Simon1140889141](#):
>
> `zed2i_left_camera_optical_frame` follows OpenCV’s RDF (right-down-forward) convention?

Yes

> [@Simon1140889141](#):
>
> `zed2i_imu_link` follows ROS’s FLU (forward-left-up) convention?

Yes, see [REP105](https://www.ros.org/reps/rep-0105.html)

> [@Simon1140889141](#):
>
> What is the readout time for the ZED 2i sensor?

What do you mean?

---

<div class="post-metadata">

**Author:** ![Simon1140889141](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@Simon1140889141](https://community.stereolabs.com/u/Simon1140889141)\
**Post date:** [May 12, 2025, 12:16pm UTC](https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789/3 "2025-05-12T12:16:00Z")

</div>

Thanks again for your previous clarifications.

I’d like to follow up with two more questions related to /imu/data.orientation and rolling shutter timing.

* * *

### 1. Regarding the pos\_tracking\_enabled parameter in common.yaml:

```auto
pos_tracking:
  pos_tracking_enabled: false

```

According to the [Positional Tracking Overview](https://www.stereolabs.com/docs/positional-tracking)，it seems that the SDK uses visual-inertial fusion to compute 6DoF pose, including orientation. However, even when I disable pos\_tracking\_enabled, I still see valid orientation values in /zed2i/zed\_node/imu/data(max\_pub\_rate = 200Hz).

So I’m trying to confirm:

- When pos\_tracking\_enabled is set to false, is the orientation in /imu/data still computed from the visual tracking module?
- Or does it fall back to a pure IMU-only fusion (i.e., based only on accelerometer + gyroscope, like a VRU filter)?
- In other words, is /imu/data.orientation ever usable as a standalone inertial information estimation, or is it always tied to visual tracking?
- If this is the case, doesn’t merging inertial information with visual tracking to produce /imu/data.orientation seem somewhat counterintuitive—even redundant?  
It feels like the VIO system is feeding back into the IMU topic.

* * *

### 2. About the readout time of the ZED 2i sensor

I could only find [the readout time of the ZED 2 camera](https://support.stereolabs.com/hc/en-us/articles/1500008922521-What-is-the-readout-time-of-the-ZED-2-camera).

Could you confirm the rolling shutter readout time for the ZED 2i sensor?

* * *

Thanks again for your support — really appreciate the technical clarity.

---

<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:** [May 14, 2025, 2:35pm UTC](https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789/4 "2025-05-14T14:35:56Z")

</div>

> [@Simon1140889141](#):
>
> When pos\_tracking\_enabled is set to false, is the orientation in /imu/data still computed from the visual tracking module?

No, it only uses inertial information.

> [@Simon1140889141](#):
>
> Or does it fall back to a pure IMU-only fusion (i.e., based only on accelerometer + gyroscope, like a VRU filter)?

Exactly

> [@Simon1140889141](#):
>
> In other words, is /imu/data.orientation ever usable as a standalone inertial information estimation, or is it always tied to visual tracking?

It’s always a valid information

> [@Simon1140889141](#):
>
> If this is the case, doesn’t merging inertial information with visual tracking to produce /imu/data.orientation seem somewhat counterintuitive—even redundant?  
> It feels like the VIO system is feeding back into the IMU topic.

Sensor fusion is normally performed to improve the final result, so it’s not redundant.

> [@Simon1140889141](#):
>
> Could you confirm the rolling shutter readout time for the ZED 2i sensor?

What do you mean by `rolling shutter readout time`?

---

<div class="post-metadata">

**Author:** ![Simon1140889141](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@Simon1140889141](https://community.stereolabs.com/u/Simon1140889141)\
**Post date:** [May 15, 2025, 3:20pm UTC](https://community.stereolabs.com/t/zed-2i-parameter-tuning-questions/8789/5 "2025-05-15T15:20:58Z")

</div>

Thank you for taking the time to reply—much appreciated.
