Repository navigation
Handle multiple shapes in an attached collision object - #421
Merged
Merged
Conversation
v4hn
force-pushed
the
pr-indigo-allow-multiple-shapes
branch
from
January 20, 2017 21:59
8ac9842 to
f242f29
Compare
Objects with multiple collision shapes leave the question what the object's internal frame is, because a pose is specified *for each shape* individually. The RobotState::getFrameTransform function handled this by returning the first registered pose as frame of reference. This is a perfectly valid approach, so I changed the warning there to a debug message. RobotState::knowsFrameTransform, however, returned false if asked whether the state knows the transform for the object. That's inconsistant behavior: if `getFrameTransform` returns a valid result, then the indicator should also reflect that. Among other things, the pick-pipeline fails with objects with multiple collision shapes without this change. I consider this a bug-fix, so I request to merge this into indigo (and forward-port it).
3 tasks done
Contributor
|
Could any @ros-planning/moveit-developers take a look? To me, with the tests passing I'm tempted to merge, particularly because time constraint for #393 (may not be a good enough motivation though). |
Contributor
|
I merged since the test passed and the code didn't seem breaking at least. |
Contributor
Author
|
@130s thanks for merging. Please don't forget to cherry-pick the change to j/k :) |
Contributor
JafarAbdi
added a commit
to JafarAbdi/moveit
that referenced
this pull request
Mar 24, 2022
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.
Objects with multiple collision shapes leave the question what the object's
internal frame is, because a pose is specified for each shape individually.
The RobotState::getFrameTransform function handled this by returning the first
registered pose as frame of reference.
This is a perfectly valid approach, so I changed the warning there to a debug message.
RobotState::knowsFrameTransform, however, returned false if asked whether the state knows the
transform for the object. That's inconsistant behavior: if
getFrameTransformreturns a valid result,then the indicator should also reflect that.
Among other things, the pick-pipeline fails with objects with multiple collision shapes
without this change. I consider this a bug-fix, so I request to merge this into indigo (and forward-port it).