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

Add analytical derivatives for LieGroup.log_map() #114

Merged
merged 40 commits into from
Mar 14, 2022

Conversation

fantaosha
Copy link
Contributor

Motivation and Context

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@fantaosha fantaosha added the enhancement New feature or request label Mar 12, 2022
@fantaosha fantaosha requested a review from luisenp March 12, 2022 07:57
@fantaosha fantaosha self-assigned this Mar 12, 2022
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 12, 2022
@fantaosha fantaosha linked an issue Mar 12, 2022 that may be closed by this pull request
@fantaosha
Copy link
Contributor Author

Now the computation of SO3.log_map() and SE3.log_map() has been improved around pi and all the analytical derivatives tests are passed.

@fantaosha fantaosha changed the base branch from main to taoshaf.add_jacobian_exp_map March 12, 2022 09:44
Base automatically changed from taoshaf.add_jacobian_exp_map to main March 14, 2022 15:55
Copy link
Contributor

@luisenp luisenp left a comment

Choose a reason for hiding this comment

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

LGMT! Left only a very minor comment.

theseus/geometry/tests/common.py Outdated Show resolved Hide resolved
@fantaosha fantaosha merged commit 23234a8 into main Mar 14, 2022
@fantaosha fantaosha deleted the taoshaf.add_jacobian_log_map branch March 14, 2022 20:44
ddetone pushed a commit that referenced this pull request Mar 29, 2022
suddhu pushed a commit to suddhu/theseus that referenced this pull request Jan 21, 2023
…#114)

* add jacobians for the exp_map of vector and point

* Add dtype and device to Vector.exp_map and Point.exp_map

* add jacobians for SO2.exp_map

* add SO3.dexp()

* add SE2.dexp()

* add rotation part for SE3.dexp()

* fix backwards bug for SO3.log_map

* refactor SO3.log_map

* fix some bugs in SO3.log_map

* fix bugs in SE3.log_map()

* Add SE3.dexp()

* Add tests for LieGroup.dexp

* add dummy LieGroup.dlog()

* Add Vector.dlog()

* Add SO3.dlog()

* Add SE2.dlog()

* Add SO3.dlog()

* Update SO3.dlog

* add SE3.dlog

* add test_so2_dlog

* SO3.dlog() works around pi

* change batch_size for test_so3.py

* rename small_theta to near_zero in SO3.py

* rename some variables in SO3.py

* modify SO3.py

* improve the computation of SE3.log() around pi

* test SE3.dlog()

* add tests for Vector.dexp()

* add tests for Point2/3.dexp()

* add tests for Vector/Point2/Point3.dlog

* imporve SO3.log_map() around pi

* improve the computation of SE3.log_map() aroun pi

* remove PGO datasets

* update .gitignore

* simplify check_projection_for_exp_map and check_projection_for_log_map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Jacobians for LieGroup.log_map
4 participants