Repository navigation
fix uninitialized RobotState transforms - #1271
Merged
Merged
Conversation
v4hn
reviewed
Dec 18, 2018
rhaschke
force-pushed
the
fix-isometry
branch
from
December 19, 2018 14:21
06fcc87 to
d55003d
Compare
Since 6cc3d62, the last row of transformation matrices, which is [0 0 0 1], is not touched during transform updates anymore. Hence, it needs explicit initialization. Also include initialization of dirty flag for transforms into new method initTransforms()
- utilize ScopedTimer helper class to reduce boiler plate code - use volatile variables to avoid compiler optimization of timing loop
rhaschke
force-pushed
the
fix-isometry
branch
from
December 19, 2018 14:29
d55003d to
4cc8d43
Compare
Contributor
Author
|
@v4hn Done. |
Contributor
|
Merged, thanks! I hate to say it, but this is another critical bugfix from my perspective. |
Contributor
Author
It's already scheduled: #1225 (comment) |
sjahr
pushed a commit
to sjahr/moveit
that referenced
this pull request
Jun 21, 2024
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
With #1096, 6cc3d62, I slightly improved FK in RobotState, exploiting the fact that the last row of the transform matrix is always
[0 0 0 1], performing a3x4*4x4matrix multiplication. However, this improvement also requires an initialization of this row, once.This PR fixes this and also improves the corresponding timing tests.