Collision management and ODE parameters

asked 2014-04-03 12:37:14 -0500

Frenetique gravatar image

updated 2014-04-03 12:37:57 -0500

Hi everyone !

I am currently building a spherical robot with masses moving inside and I have a few questions about collisions management and ODE parameters for constraints.

First, is it possible in Gazebo to specify with which elements a given link should be able to collide ? The idea is that I have multiple masses moving inside the spherical robot but I want to consider collision of these masses only with the outer shell and not between each other (the masses). So each mass is a link and the shell is another one.

Another thing, I would like to have a spring behaviour when the masses collide this shell, so I wanted to tweak the ERP and CFM parameters. I have some questions with respect to these.

First, what is the difference between the ERP and CFM specified in the <world><physics><ode> of the sdf file and the ones specified in the <link> under <soft_cfm> and <soft_erp> tags.

Second, what is the meaning of of <kp> and <kd> tags in the <collision><contact> properties of a link, since, if I understand the ODE documentation, kd and kp are fully described by CFM and ERP parameters (so it seems to be redundant here).

And last, what is the difference between describing these cfm and erp parameters for a spring behaviour compared to the <surface><bounce> options (I'm not sure how bounce acts here).

Thanks in advance for your enlightenments.

Best regards.

edit retag flag offensive close merge delete


I need to manage the collision scene as well. have you found a solution for this problem?

Zamzami gravatar imageZamzami ( 2014-08-28 12:21:13 -0500 )edit

No sorry. I haven't looked much into it either. I had to move on other problems in the project.

Frenetique gravatar imageFrenetique ( 2014-09-23 08:58:11 -0500 )edit