Skip to content
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

Handle multiple shapes in an attached collision object #421

Merged
merged 1 commit into from
Feb 6, 2017

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Jan 20, 2017

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
@130s
Copy link
Contributor

130s commented Jan 26, 2017

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
Copy link
Contributor

130s commented Feb 6, 2017

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

@v4hn
Copy link
Contributor Author

v4hn commented Feb 6, 2017

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

@130s
Copy link
Contributor

130s commented Feb 6, 2017

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.

None yet

2 participants