Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[humble] image_publisher: Fix image constantly flipping when static image is published #984

Conversation

Kotochleb
Copy link
Contributor

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 Iron, Jazzy and Rolling.

@Kotochleb Kotochleb changed the title Humble: Fix image constantly flipping when static image is published [humble] image_publisher: Fix image constantly flipping when static image is published May 26, 2024
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

Can you target rolling ? Then I can backport this to the other distros.

@Kotochleb Kotochleb changed the base branch from humble to rolling May 27, 2024 09:01
@Kotochleb Kotochleb force-pushed the buffix/image-publisher-flipping-image branch from 510cb0a to 2a662bd Compare May 27, 2024 09:20
@Kotochleb Kotochleb closed this May 27, 2024
@Kotochleb Kotochleb force-pushed the buffix/image-publisher-flipping-image branch from 2a662bd to a87b971 Compare May 27, 2024 09:33
ahcorde pushed a commit that referenced this pull request May 27, 2024
… image is published (#986)

Continuation of
#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`.
mergify bot pushed a commit that referenced this pull request May 27, 2024
… image is published (#986)

Continuation of
#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`.

(cherry picked from commit 7f25ec9)
mergify bot pushed a commit that referenced this pull request May 27, 2024
… image is published (#986)

Continuation of
#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`.

(cherry picked from commit 7f25ec9)
mergify bot pushed a commit that referenced this pull request May 27, 2024
… image is published (#986)

Continuation of
#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`.

(cherry picked from commit 7f25ec9)
ahcorde pushed a commit that referenced this pull request May 27, 2024
… image is published (backport #986) (#989)

Continuation of
#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`.<hr>This is an automatic backport of pull request #986 done by
[Mergify](https://mergify.com).

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
ahcorde added a commit that referenced this pull request May 27, 2024
…published (backport #986) (#988)

Continuation of
#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`.<hr>This is an automatic backport of pull request #986 done by
[Mergify](https://mergify.com).

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
mikeferguson pushed a commit that referenced this pull request Jun 10, 2024
…published (backport #986) (#987)

Continuation of
#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`.<hr>This is an automatic backport of pull request #986 done by
[Mergify](https://mergify.com).

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
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.

2 participants