Vision and Locomotion Control Systems in a bioinspired Humanoid Robot