of Advanced Robotic Systems Sensor-Based Programming of Central Pattern Generators in Humanoid Robots Regular Paper