ros-perception / image_pipeline

An image processing pipeline for ROS.
Other
786 stars 726 forks source link

image_publisher: Fix image, constantly flipping when static image is published (backport #986) #988

Closed mergify[bot] closed 4 months ago

mergify[bot] commented 4 months ago

Continuation of https://github.com/ros-perception/image_pipeline/pull/984.

When publishing video stream from a camera, the image was flipped correctly. Yet for a static image, which was loaded once, the flip function was applied every time ImagePublisher::doWork() was called, resulting in the published image being flipped back and forth all the time.

This PR should be straightforward to port it to Humble, Iron and Jazzy.


This is an automatic backport of pull request #986 done by Mergify.

ahcorde commented 4 months ago

CI is fixed here https://github.com/ros-perception/image_pipeline/pull/990