why call the computeAccelerationsArticulatedBodyAlgorithmMultiDoft twice?
-
- Posts: 83
- Joined: Mon Nov 05, 2018 8:16 am
- Location: China
why call the computeAccelerationsArticulatedBodyAlgorithmMultiDoft twice?
i don't understand why we have to call this function computeAccelerationsArticulatedBodyAlgorithmMultiDof() twice which is very time consuming,i don't think the second time is necessary if we don't set the btMultiBodyJointFeedback. any idea is appreciated, thanks.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: why call the computeAccelerationsArticulatedBodyAlgorithmMultiDoft twice?
Good point, the second pass is used for joint feedback (using results from the constraint solver).
We can add a check for 'body->internalNeedsJointFeedback()' around line 720 of btMultiBodyDynamicsWorld. Mind sending a patch to github?
We can add a check for 'body->internalNeedsJointFeedback()' around line 720 of btMultiBodyDynamicsWorld. Mind sending a patch to github?
-
- Posts: 83
- Joined: Mon Nov 05, 2018 8:16 am
- Location: China
Re: why call the computeAccelerationsArticulatedBodyAlgorithmMultiDoft twice?
OK, i will do it asap. thanks.