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

feat(tag_based_pnp_calibrator): choose between sqpnp and iterative automatically #222

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

knzo25
Copy link
Collaborator

@knzo25 knzo25 commented Dec 19, 2024

In the past we used sqpnp as the pnp algorithm because it behaved better in our used cases.
However, for recent cases, the default iterative algorithm has shown better results, so in this PR I made it so that the one with the least reprojection error solution is chosen.

Additionally in noisy environment (wind), the filtering may be compromised so I added an option to chose automatically between the filtered hypotheses and the last observations depending on which set gives a better fit.

Related links

TIER IV INTERNAL LINK

Tests performed

Calibrated camera-lidar for our Gen2 internal project

Notes for reviewers

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

…np based calibration. automatically choose between observations and hypotheses when returning the final calibration

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
@knzo25 knzo25 requested review from yabuta and muraki-t4 December 19, 2024 04:30
Copy link
Collaborator

@yabuta yabuta left a comment

Choose a reason for hiding this comment

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

Thanks!LGTM

@knzo25 knzo25 merged commit 3dd6268 into tier4:tier4/universe Dec 19, 2024
6 checks passed
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