Bender's error correction

Please don't post Bullet support questions here, use the above forums instead.
Post Reply
cherrywbtc
Posts: 3
Joined: Mon Jun 18, 2012 8:00 pm

Bender's error correction

Post by cherrywbtc »

Hi, I am new here. I am trying to understand the bender's error correction in a bilateral constraints problem. Can anybody give me any help on that? Thanks!


Cherry
Jan Bender
Posts: 111
Joined: Fri Sep 08, 2006 1:26 pm
Location: Germany
Contact:

Re: Bender's error correction

Post by Jan Bender »

Hi, I am new here. I am trying to understand the bender's error correction in a bilateral constraints problem. Can anybody give me any help on that? Thanks!
Can you specify your problem with the method?

Jan
cherrywbtc
Posts: 3
Joined: Mon Jun 18, 2012 8:00 pm

Re: Bender's error correction

Post by cherrywbtc »

Hi, Jan:
I saw you mentioned the paper: "Fast Dynamic Simulation of Multi-Body Systems Using Impulses" in an earlier discussion:
viewtopic.php?f=4&t=878

Is this the right paper I should follow? Or your earlier paper: "An impulse-based dynamic simulation system for VR applications"? I am now doing a very simple bilateral constraint problem: a pendulum. I already know how to simulate the motion of the pendulum stick in an impulse-based method with constraints. But I still don't know how to do the position correction considering the stability.

Thanks
Cherry
Jan Bender
Posts: 111
Joined: Fri Sep 08, 2006 1:26 pm
Location: Germany
Contact:

Re: Bender's error correction

Post by Jan Bender »

Hi,

I don't know what you mean with "the position correction considering the stability". Maybe the following paper can help you:

http://i31www.ira.uka.de/~jbender/Papers/STAR.pdf

For computing the impulses p you must solve the following linear system:

J M^-1 J^T p = dv

where J is the Jacobian of the constraints and M is the mass matrix. For the Lagrange multiplier method you have exactly the same matrix. In contrast to other methods you obtain the right hand side of the system dv by making a preview of the joint state. This solves the drifting problem.

Jan
cherrywbtc
Posts: 3
Joined: Mon Jun 18, 2012 8:00 pm

Re: Bender's error correction

Post by cherrywbtc »

This paper explained a lot! Danke schoen!

Cherry
Post Reply