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

Publish /aligned_depth_to_color topic only when color frame present #2793

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

Arun-Prasad-V
Copy link
Contributor

Issue:

  • /aligned_depth_to_color topic has unaligned images as well published randomly
  • Happens especially when rgb module frame rate is less than depth module frame rate

Root cause:

  • When a particular frameset have only depth frame and not color frame, alignment will not happen. But still, the unaligned image is getting published

Fix:

  • Publish aligned image only when both color and depth frames are present in the frameset

Copy link
Collaborator

@SamerKhshiboun SamerKhshiboun left a comment

Choose a reason for hiding this comment

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

LGTM

@Nir-Az Nir-Az merged commit aecccac into IntelRealSense:ros2-development Jun 27, 2023
@Arun-Prasad-V Arun-Prasad-V deleted the align_color branch August 10, 2023 05:35
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.

3 participants