Skip to content

Handle multiple shapes in an attached collision object - #421

Merged
130s merged 1 commit into
moveit:indigo-develfrom
v4hn:pr-indigo-allow-multiple-shapes
Feb 6, 2017
Merged

130s merged 1 commit into
moveit:indigo-develfrom
v4hn:pr-indigo-allow-multiple-shapes

Conversation

@v4hn

@v4hn v4hn commented Jan 20, 2017

Copy link
Copy Markdown
Contributor

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).

@v4hn
v4hn force-pushed the pr-indigo-allow-multiple-shapes branch from 8ac9842 to f242f29 Compare January 20, 2017 21:59
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).
@v4hn v4hn mentioned this pull request Jan 23, 2017
3 tasks done
@130s

130s commented Jan 26, 2017

Copy link
Copy Markdown
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).

@130s
130s merged commit 9541add into moveit:indigo-devel Feb 6, 2017
@130s

130s commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

I merged since the test passed and the code didn't seem breaking at least.

@v4hn

v4hn commented Feb 6, 2017

Copy link
Copy Markdown
Contributor Author

@130s thanks for merging. Please don't forget to cherry-pick the change to j/k :)

@130s

130s commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

Ok. Forward ported to J 0c32530, K 44c2f87

JafarAbdi added a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants