Kimera-VIO-ROS icon indicating copy to clipboard operation
Kimera-VIO-ROS copied to clipboard

Expected image with MONO8 or BGR8 encoding

Open clungzta opened this issue 6 years ago • 3 comments

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:

  • SparkVio branch, tag or commit used: 6608e65e0be71a6ced3ddf53be8419dc4cbbdec0
  • OpenCV version used: type opencv_version: 3.4.2
  • Operating system and version (e.g. Ubuntu 16.04 or Windows 10): Ubuntu 18.04
  • Did you change the source code? (yes / no): no

clungzta avatar Dec 30 '19 09:12 clungzta

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

ToniRV avatar Dec 30 '19 17:12 ToniRV

@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...

tftangming avatar Aug 07 '20 10:08 tftangming

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

hanzheteng avatar Jun 11 '21 17:06 hanzheteng