ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks for pointing that out!

I tried to get the most out of that tutorial to do the conversion, and I just figured out the following:

  1. convert the ros image (bgr8) to cvImage in cv_bridge by specifying the wanted encoding (rgba8).

  2. convert this cvImage to ros msg, and publish.

When I run this script, it seems to consume quite a bit of cpu. I assume that during the first conversion, it needs lots of operations.

I just wonder if there would be a more efficient way of doing it?