Skip to content

add MONO16 / GRAY16_LE support#70

Open
julled wants to merge 2 commits into
ros-drivers:masterfrom
julled:MONO16support
Open

add MONO16 / GRAY16_LE support#70
julled wants to merge 2 commits into
ros-drivers:masterfrom
julled:MONO16support

Conversation

@julled

@julled julled commented Dec 23, 2020

Copy link
Copy Markdown

added support for MONO16/GRAY16_LE streams.

tested with a 12bit thermal camera (mapped to 16bit) on gstreamer1.0.

Comment thread src/gscam.cpp
caps = gst_caps_new_simple( "video/x-raw-rgb", NULL,NULL);
} else if (image_encoding_ == sensor_msgs::image_encodings::MONO8) {
caps = gst_caps_new_simple("video/x-raw-gray", NULL, NULL);
} else if (image_encoding_ == sensor_msgs::image_encodings::MONO16) {

@julled julled Dec 23, 2020

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this stuff related to gst 0.1 is untested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant