Self-balancing vinMoov

Now that the IK engine is working like I want. I can add more functionality to it.

I first start with a self-balancing positionning. So every time the vinMoov is ask to move a body part, the ik engine will adjust the rest of his body so the vinMoov can keep is balance (in theory, that will remain to see if it could work with a real inMoov) 

At the start of the video, the vinMoov is standing on his left feet. Notice that the vinMoov is slighty tilting to his left with the right leg doing a counterweight to his upper body. That position is taken by the ik engine without any input other than setting the left leg as staying to the ground.

In the rest of the video, i'm playing with the ankle, knee and hip servo slider. The vinMoov execute and keep a much more decent overall position. Without the self-balancing positionning, the vinMoov will have just shift his upper body toward the back to the front.

 

 

It's kinda amazing how 20 lines of code can do


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
juerg's picture

Hi Christian congrats, looks

Hi Christian

congrats, looks really great! Maybe some more code lines to really make a step?

Done the dh-staff now in my own app and can show now a stick figure including fingers and eyes in my servo controller.

It's currently using python and matplotlib, I am thinking of switching to Panda3d for the visualization.

Anyway, lot of fun to see things moving.

Juerg