You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I helped a team with a crash on the field where they had set both the primary and fallback strategy to CONSTRAINED_SOLVEPNP. For an unknown reason, it tried to fall back (possibly camera was reported as not calibrated) and thus photonlib was stuck in an infinite loop since it fell back to the same strategy that failed initially. It seems like photonlib should not allow setting the fallback strategy to be the same as the primary strategy.
It's also not clear to me why the multi-tag pnps are not allowed as fallback strategies, but maybe CONSTRAINED_SOLVEPNP shouldn't be allowed also as a fallback strategy.