stereolabs / zed-ros-wrapper

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

Using Zed2 with Kalibr #922

Closed ManChrys closed 12 months ago

ManChrys commented 12 months ago

Preliminary Checks

Description

I want to record a bag file to use it for Kalibr package as you described here https://support.stereolabs.com/hc/en-us/articles/360012749113-How-can-I-use-Kalibr-with-the-ZED-Mini-camera-in-ROS- .

Steps to Reproduce

1.roslaunch zed_wrapper zed2.launch 2.rosbag record -O Kalibr_data.bag /zed2/zed_node/imu/data_raw /zed2/zed_node/left/image_rect_color /zed2/zed_node/right/image_rect_color 3.rqt_bag Kalibr_data.bag

Expected Result

I was expecting something like that

Screenshot from 2023-10-09 09-46-58

Actual Result

but i have this result. i tried other topics too but it has the same results.

Screenshot from 2023-10-09 09-48-06

ZED Camera model

ZED2

Environment

OS: Ubuntu 18.04.06 LTS
CPU:AMD® Ryzen 7 3700x 8-core processor × 16 
GPU:NVIDIA GeForce RTX 2060 SUPER
ZED SDK VERSION:4.0.7

Anything else?

I have 2 zed2 cameras and they do the same. Thats how zed2 works or something went wrong ? In the example there is Realsense 455 which has rgb camera. Thats the reason, why there is this difference ?

Thanks in advance.

Myzhar commented 12 months ago

@ManChrys it's expected. Probably the rosbag player does not support the 32bit format of the ZED Wrapper image topics, but only 24bit format. The data are available in any case and you can perform the calibration.

ManChrys commented 12 months ago

Ok i see. Thank you my friend !!