This repository was archived by the owner on Mar 10, 2023. It is now read-only.
ndt_mapping: fix no output of transformation matrix#60
Open
Kin-Zhang wants to merge 1 commit intoautowarefoundation:masterfrom
Open
ndt_mapping: fix no output of transformation matrix#60Kin-Zhang wants to merge 1 commit intoautowarefoundation:masterfrom
Kin-Zhang wants to merge 1 commit intoautowarefoundation:masterfrom
Conversation
|
I encountered this problem too, thanks for the solution |
Author
Great to help you. |
|
@Kin-Zhang Thank you for the fix! Please sign your commits (see the DCO item below for details). This will be included in the 1.15.1 release. |
In version 1.14, ndt_mapping.cpp rewrite the tf things, but it forgot to compute
```cpp
tf_btol = (tl_btol * rot_z_btol * rot_y_btol * rot_x_btol).matrix();
tf_ltob = tf_btol.inverse();
```
so it still need get previous tf thing and use it to compute tf_ltob and then we will have the output of transformation matrix
Signed-off-by: Kin <kin_eng@163.com>
a36e4be to
1cc0fb5
Compare
Author
Thanks for replying, and happy to contribute. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug fix
Fixed bug
In version 1.14, ndt_mapping.cpp rewrite the tf things, but it forgot to compute
tf_btol = (tl_btol * rot_z_btol * rot_y_btol * rot_x_btol).matrix(); tf_ltob = tf_btol.inverse();so it still need to get the previous tf thing and use it to compute tf_ltob and then we will have the output of the transformation matrix
Relate issue:
#58