ros-perception / image_transport_plugins

A set of plugins for publishing and subscribing to sensor_msgs/Image topics in representations other than raw pixel data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors are logged in a very high frequency

progtologist opened this issue · comments

All methods (encode / decode) are posting ROS_ERRORS when opencv fails to process the image. The problem is that this output to the ros console can happen extremely often for cameras, where 30 fps are common and in some scenarios it can be up to 200 fps or more.
I think that throttling these ROS_ERROR messages would be beneficial for the image_transport_plugins. The user still gets notified, without being spammed at a high rate.