Gazebo | Ignition | Community
Ask Your Question
0

avoid interpenetration between links that are connected by a joint

asked 2015-10-28 09:56:54 -0600

djou07 gravatar image

Hello,

I want to avoid interpenetration between links that are connected by a joint.

I thought to add another link that will act like a joint. i.e instead of putting a link exactly in front of the other link with an invisible joint, I will add another one (small cube or sphere) between the two first links.

This solution fixes the problem, but weight and inertia values of joint link must be like those of one of the links (unrealistic and sort of cheating)

Is there any other solution? Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-28 19:04:08 -0600

chapulina gravatar image

You might want to use collide bitmasks to determine which links can collide with each other.

edit flag offensive delete link more

Comments

even links that are connected by a joint ?

djou07 gravatar imagedjou07 ( 2015-10-29 03:08:00 -0600 )edit

The bitmask is added to each collision surface, so it should work for links in the same model, links connected by a joint, or even different collisions within the same link.

chapulina gravatar imagechapulina ( 2015-10-29 11:57:53 -0600 )edit

I tried to add a bitmask to all links of one model in which way that avoid the inter-penetration but this didn't work

djou07 gravatar imagedjou07 ( 2015-11-03 09:56:07 -0600 )edit

Doesn't work for me either, with gazebo7 and sdf 1.5. I put the following in every collision element. The model stays above the ground, but parts connected by revolute joint pass through each other. Is this not a bug? If so, it's a problem, as many robots have to bend around to touch themselves. <contact> <collide_bitmask>0x01</collide_bitmask> </contact> ...and I also included a true self_collide element at the model level.

klaatu gravatar imageklaatu ( 2016-06-02 21:59:54 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-10-28 09:56:54 -0600

Seen: 3,176 times

Last updated: Oct 28 '15