walking pattern generate with capture point