MIT-SPARK / Kimera-VIO-ROS

ROS wrapper for Kimera-VIO
BSD 2-Clause "Simplified" License
376 stars 157 forks source link

Expected image with MONO8 or BGR8 encoding #26

Open clungzta opened 4 years ago

clungzta commented 4 years ago

Description: I am attempting to use Kimera ROS node with my ZED Mini Stereo Camera. However, the node does not support images of bgra8 format.

Console output:


F1230 20:35:42.739012  1157 RosDataProvider.cpp:111] Check failed: cv_ptr->encoding == sensor_msgs::image_encodings::MONO8 (bgra8 vs. mono8) Expected image with MONO8 or BGR8 encoding

Please give also the following information:

ToniRV commented 4 years ago

Should be easy to add support for bgra8. I'll try to add it, together with #27

tftangming commented 4 years ago

@clungzta Hello, Have you success to achieve the live meshing using your zed mini camera? Recently I bought a ZED2 and wang to use it...

hanzheteng commented 3 years ago

@ToniRV Have we added support for bgra8 yet? I run into the same issue using Zed camera.