Kinematic computations for small-size humanoid robot KUBO