Moderators: Sascha Willems, walaber
The problem is, at the time the pendulum stops and reverses direction, the simulated COP jumps out of bounds for 1-2 timesteps and that's enough to loose balance.
Julio Jerez wrote:I am actually very interested on this for making a simple walking demo on and uneven terrain.
Julio Jerez wrote:I just checked in the version that solve hard unilateral joints, can you try again using the Skeleton solver?
Julio Jerez wrote:Can we reproduce this in one of the standard joints demos?
Julio Jerez wrote:did you look at the paper Joe?
http://graphics.csie.ncku.edu.tw/IPM/ba ... 629_01.pdf
I believe that once we get the hard joint going, the entire system can be implemented trivially without using the PID mombo jumbo.
An inverted pendulum on a cart (IPC) is a rigid body system
that has two translation joints to move the cart and one
rotational joint for the pendulum (Figure 2a). Because the
rotational joint is unactuated, the inverted pendulum is in-
herently unstable and must be actively balanced by moving
the cart horizontally. This property resembles the balancing
actions of humans. The leaning angle of the character’s body
in dynamic behaviors such as turning, accelerating, or maintaining
balance can be effectively modeled using the IPC.
Julio Jerez wrote:where do you see the turbulence? the two pictures look the same to me?
Julio Jerez wrote:reason being that if use tow pendulum one for each foot, that will bring big coordination problems
so basically the trick is to balance a stick
Julio Jerez wrote:is the sine wave some torque of force applied to the top body?
joint->targetAngle = sin(time * 0.1) * 0.2;
// joint will move to this angle next timestep, makes body swing left - right
// measure center of pressure, which is the blue plot about
vec cop(0,0,0);
float weight = 0;
for all contacts of footbody
{
float gcf = fabs (contactForce.Dot(gravityUnitDir));
cop += contactPosition * gcf ;
weight += gcf ;
}
cop /= weight;
Plot (cop.x);
Julio Jerez wrote:is that what you are doing at it core?
Users browsing this forum: No registered users and 1 guest