Whole body posture controller based on inertial forces