Skip to content

Conversation

@johnwlambert
Copy link
Contributor

As discussed in #995, for certain inputs, Similarity3.Align() returns an object with negative scale.

According to my derivation here, based on Zinnser05prip, the correct scale should not need an absolute value cast.

However, this PR adds an absolute value cast on the scale, and we can likely blame numerical instabilities as a reasonable motivation (the negative values I saw were relatively close to zero).

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

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

Cool! Thanks John!

@johnwlambert johnwlambert merged commit 0ba1d3b into develop Dec 30, 2021
@johnwlambert johnwlambert deleted the force-nonnegative-scale-Sim3 branch December 30, 2021 21:08
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.

Similarity(3) estimation returns a negative scale for some poorly aligned pose graphs

3 participants