Add get_second_solution() to handle tag pose ambiguity#431
Add get_second_solution() to handle tag pose ambiguity#431fspindle wants to merge 1 commit intoAprilRobotics:masterfrom
Conversation
Extract second pose candidate resolution into a dedicated function. Uses fix_pose_ambiguities() to find the alternative solution and refines it via orthogonal iteration. Returns HUGE_VAL in err2 if no second solution exists.
|
@mkrogius Can you have a look at this? |
|
We already have |
|
@christian-rauch I will check end of the week. Thanks. |
|
@christian-rauch @mkrogius I agree that the function I propose to introduce is not optimal. This PR can be closed. I found that the ubuntu package doesn't expose symbols of |
|
As far as I can see, we do not control the visibility of symbols. Which Ubuntu package are you talking about? Looking at the |
|
@fspindle I am closing this at it appears that the functionality already exists. |
Pose Ambiguity Handling
Planar markers often have two mathematically plausible pose solutions. This PR exposes the second solution from the orthogonal iteration algorithm.
get_second_solution()toapriltag_pose.h. It allows to extract second pose candidate into a dedicated function. Usesfix_pose_ambiguities()to find the alternative solution and refines it via orthogonal iteration. ReturnsHUGE_VALinerr2if no second solution exists.