Can someone explain contact_max_correcting_vel parameter in the ODE physics engine ?
I have a linkage mechanism in gazebo for which the contactmaxcorrecting_vel parameter under ODE determines if the total energy of the mechanism decays with time i.e. if no other forces are applied, and friction parameters are zero, the mechanism should technically stay in perpetual motion. But it only does so when I set this parameter to -1. The description in the sdf spec doesn't give much explanation:
"The maximum correcting velocities allowed when resolving contacts."
Neither does the ODE spec: "Set and get the maximum correcting velocity that contacts are allowed to generate. The default value is infinity (i.e. no limit). Reducing this value can help prevent "popping" of deeply embedded objects."
Can anyone explain to me this parameter and its use ? Thanks in advance.
Asked by zen on 2018-11-13 09:51:49 UTC
Answers
When two collision objects collide and overlap then a contact is formed. This contact contains information about how far the two objects overlap. A correcting velocity is applied to the bodies in order to push them apart. The contact_max_correcting_vel
can be used to set the maximum allowed correcting velocity.
Asked by nkoenig on 2018-11-14 10:23:09 UTC
Comments
Is a contact also formed within joints ? for example within a revolute joint ?
Asked by zen on 2018-11-27 17:01:17 UTC
Comments