Gazebo | Ignition | Community
Ask Your Question
0

Can someone explain contact_max_correcting_vel parameter in the ODE physics engine ?

asked 2018-11-13 08:51:49 -0600

zen gravatar image

I have a linkage mechanism in gazebo for which the contact_max_correcting_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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-11-14 09:23:09 -0600

nkoenig gravatar image

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.

edit flag offensive delete link more

Comments

Is a contact also formed within joints ? for example within a revolute joint ?

zen gravatar imagezen ( 2018-11-27 16:01:17 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-13 08:51:49 -0600

Seen: 1,279 times

Last updated: Nov 14 '18