Page 1 of 1

What does CFM and ERP stand for in btConstraintParams enum?

Posted: Tue Aug 26, 2014 5:53 am
by Wil McV
Hi all,

I'm new to bullet and i'm some joint related stuff with picking like in the examples. the example contains the following code

Code: Select all

          dof6->setParam( BT_CONSTRAINT_STOP_CFM, 0.8f, 0 );
          dof6->setParam( BT_CONSTRAINT_STOP_CFM, 0.8f, 1 );
          dof6->setParam( BT_CONSTRAINT_STOP_CFM, 0.8f, 2 );
          dof6->setParam( BT_CONSTRAINT_STOP_CFM, 0.8f, 3 );
          dof6->setParam( BT_CONSTRAINT_STOP_CFM, 0.8f, 4 );
          dof6->setParam( BT_CONSTRAINT_STOP_CFM, 0.8f, 5 );

          dof6->setParam( BT_CONSTRAINT_STOP_ERP, 0.1f, 0 );
          dof6->setParam( BT_CONSTRAINT_STOP_ERP, 0.1f, 1 );
          dof6->setParam( BT_CONSTRAINT_STOP_ERP, 0.1f, 2 );
          dof6->setParam( BT_CONSTRAINT_STOP_ERP, 0.1f, 3 );
          dof6->setParam( BT_CONSTRAINT_STOP_ERP, 0.1f, 4 );
          dof6->setParam( BT_CONSTRAINT_STOP_ERP, 0.1f, 5 );
My question is, what does CFM and ERP stand for? I can't find it documented anywhere? What are these parameters?

Thanks in advance

Re: What does CFM and ERP stand for in btConstraintParams en

Posted: Thu Aug 28, 2014 10:33 pm
by Wil McV
So no one knows that they are? they just use them with random values and hope for the best results?

Re: What does CFM and ERP stand for in btConstraintParams en

Posted: Fri Aug 29, 2014 3:52 pm
by Erwin Coumans
See the Open Dynamics Manual for CFM and ERP:
http://www.ode.org/ode-latest-userguide.html#sec_3_7_0

Re: What does CFM and ERP stand for in btConstraintParams en

Posted: Mon Sep 01, 2014 1:48 am
by Wil McV
Beautiful :D

Thanks Erwin