Skip to content

Conversation

@wsmlby
Copy link
Contributor

@wsmlby wsmlby commented Sep 30, 2025

The previous PR: #14295
Didn't fix the issue when it hit depth==0 and continued.

@sysrsbuild
Copy link
Contributor

Can one of the admins verify this patch?

@Nir-Az Nir-Az requested a review from Copilot October 8, 2025 06:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an infinite loop bug in the depth pixel projection function that occurred when the loop reached the end pixel with a depth value of 0. The fix adds a boundary check to break out of the loop when reaching the end pixel, preventing the infinite loop condition.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Nir-Az Nir-Az requested a review from OhadMeir October 8, 2025 06:02
@OhadMeir
Copy link
Contributor

OhadMeir commented Oct 8, 2025

@wsmlby thank you for contributing. Can you share some details about your use case?

@OhadMeir OhadMeir merged commit 6da7e97 into realsenseai:development Oct 9, 2025
25 checks passed
@wsmlby
Copy link
Contributor Author

wsmlby commented Dec 10, 2025

We use realsense depth cam in warehouses @ ~thousands units. We occasionally run into a stuck process because of this.

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