Stable walking and dynamic obstacle avoidance of humanoid robots using optimized step planner | Synapse