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:
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, 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!