Skip to content

Instantly share code, notes, and snippets.

View bmagyar's full-sized avatar

Bence Magyar bmagyar

View GitHub Profile
@awesomebytes
awesomebytes / debian_from_ros_pkg.md
Last active February 18, 2025 13:59
How to create a debian from a ROS package
@awesomebytes
awesomebytes / fix_depth_image_exception.md
Created July 21, 2016 09:57
Fix [16UC1] is not a color format. but [mono8] is. The conversion does not make sense

How to fix xtion's image format conversion

We may get:

cv_bridge exception: [16UC1] is not a color format. but [mono8] is. The conversion does not make sense

In C++ a workaround:

const sensor_msgs::ImageConstPtr & msg
 if (msg->encoding == "16UC1"){