Vision and locomotion control systems on a bio-inspired humanoid robot