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

Fix omni directional cylindrical test failing #6403

Conversation

FrederikBark
Copy link
Contributor

Description
Fixes a failing test due to #6396

I changed the mIsOmniDirectional variable back to being horizontalFOV > M_PI and instead reprojected all back points to fix the issue from #6395

I additionally added another object to the recognition test which is perpendicular to the sensor plane to ensure that these objects are also correctly recognized.

I want to add another test which checks that the recognized position is correct as this was a problem in #6395

Related Issues
This pull-request addresses issue #6395

Screenshots
Newly added object for test
image

Fixed detection
image

Copy link
Member

@omichel omichel left a comment

Choose a reason for hiding this comment

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

We should fix clang format errors.

@FrederikBark
Copy link
Contributor Author

I added a new test which checks for a perpendicular object in the camera frame regarding #6395 .
This test should hopefully ensure, that the object is recognized at the correct position.

I also did some reformatting regarding clang issues.

@omichel
Copy link
Member

omichel commented Oct 6, 2023

It seems that there are more clang format issues.

@FrederikBark
Copy link
Contributor Author

I did another update to the clang formatting. This time it seems all test were running successful.

@omichel
Copy link
Member

omichel commented Oct 6, 2023

Thank you. Is the PR ready for review? (It is still marked as Draft.)

@FrederikBark FrederikBark marked this pull request as ready for review October 6, 2023 10:53
@FrederikBark FrederikBark requested a review from a team as a code owner October 6, 2023 10:53
@FrederikBark
Copy link
Contributor Author

Yes, I updated it now.

Copy link
Member

@omichel omichel left a comment

Choose a reason for hiding this comment

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

That looks great to me.
Thank you.

@FrederikBark FrederikBark merged commit d76e17a into cyberbotics:master Oct 6, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants