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

Ability to attach collision objects to collision objects? #3060

Open
rr-tom-noble opened this issue Nov 5, 2024 · 0 comments
Open

Ability to attach collision objects to collision objects? #3060

rr-tom-noble opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rr-tom-noble
Copy link
Contributor

rr-tom-noble commented Nov 5, 2024

Is your feature request related to a problem? Please describe.

In our software, we have a need to attach tools to a robot.

Each tool is composed of separate parts, e.g. tool, connector, toolbit, some of which can be switched out with one another, requiring us to represent them as separate collision objects to avoid a combinatorial explosion of collision objects as more parts are added to the chain.

I think this is also nicer for modularity.

Describe the solution you'd like

It'd be nice to allow collision objects to be attached to other collision objects.

I'm unsure if this is already a feature in moveit. If so, we may be duplicating code (see alternatives).

It seems like this would be nearly identical to attaching the object to a link (i.e. specifying the name of the parent object and the transform relative to the parent object). When a query is made for the frame of the object relative to a frame which includes its parent object(s) as part of the transformation chain, the parent object transforms are also taken into account.

It'd probably also make sense for some operations to propagate to child objects, e.g.

  • When an object is removed from the scene, all child objects are removed from the scene
  • When an object is detached, all child objects are detatched

Describe alternatives you've considered

Our current solution involves keeping track of which collision objects are defined relative to other collision objects, and their relative transformations.

We attach all collision objects to the end-effector link of the robot, using the relative object to object transforms to compute the attach pose of children objects with respect to the end-effector link.

Additional context

No response

@rr-tom-noble rr-tom-noble added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant