gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 477 forks source link

[Feature Request] Better Self-Collision Bitmasks Interface #2204

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Dave Coleman (Bitbucket: Dave Coleman).


I'm attempting to enable Baxter to check for self-collision, but some links are in collision that are not attached by a joint due to the way the URDF was created by Rethink. With MoveIt!, we have a relatively simple matrix that allows pairs of links to be disabled for self collision. We need an equivalent in Gazebo, otherwise the robot "convulses" as reported here.

The Gazebo equivalent seems to be the recently added collision bitmasks but using this seems impractical for a robot with ~100 links / 14+ DOF. Additionally, that approach requires you to know the ID of each link, which changes when converting from URDF to SDF because many links are combined into one during the conversion. Manually combinging the bitwise operations seems incredibly tedious for large robots.

We need a way selectively enable self collision for most of the links of a complex robot in Gazebo.

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).