-
Notifications
You must be signed in to change notification settings - Fork 768
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
Inverse using Expressions differs from normal inverse #128
Comments
Nothing to do with Pose3 mojo. But the above is concerning! What happens if you use |
In that case the compiler doesn't get it;
I also did it the same way recently some expressions were added to the navigation-part; but that gave the same incorrect results. it looks as if it simply doesn’t invert the rotation..? |
You have extra pairs of parentheses. I guess it's a rare pitfall of C++ called comma operator: https://en.cppreference.com/w/cpp/language/operator_other |
This works fine for me:
|
I can confirm it works :-) I thought I knew C++.... |
0ab10c359 Fix pyparsing version and replace `create_symlinks` with `copy_directory` (#128) 230a3c967 Merge pull request #127 from borglab/feature/template-instantiator cc7d9a8b4 breakdown template instantiator into smaller submodules 59536220a Merge pull request #126 from borglab/feature/instantiation-tests 7ee715ecc add type info to template_instantiator b367ed93d tests for InstantiationHelper e41cfd50e tests for InstantiatedGlobalFunction 1837982a7 tests for InstantiatedClass a7e3678a3 tests for InstantiatedStaticMethod da06c53f7 tests for InstantiatedMethod c645c143c tests for InstantiatedConstructor b8a046267 tests for InstantiatedDeclaration af80c9d04 finish all tests for namespace level instantiation d6085c37a add tests for high level template instantiation f7ae91346 add docs and utility method d90abb52b Merge pull request #125 from borglab/feature/templated-static 58cdab20d clean up 247cea727 add helper for multilevel instantiation 761f588e4 update tests 81e5d5d19 update pybind wrapper to use new way 96d1575d8 streamlined way of instantiating template for class methods 1e4e88799 add to_cpp method for Method 485d43138 add the test fixtures 8cb943635 support instantiation of static method templates 84ef6679b add template to static method parser git-subtree-dir: wrap git-subtree-split: 0ab10c359a6528def20eddc60aced74a04250419
Description
I tried inverting rotations and poses using gtsam expressions. They don't seem to work.. (giving different values from expected). However, it might also be my lack of knowledge on the inner workings of the lie-stuff and I am just making a really novice faulty assumption on what I'm doing?
I also noticed some commit-messages from @dellaert about Pose3 losing mojo and wrong derivatives around identity? I guess this might be something related?
Steps to reproduce
Expected behavior
I expected that the inverses would be the same?
Environment
Latest and greatest GTSAM. Ubuntu 18.04.
Additional information
The text was updated successfully, but these errors were encountered: