Online optimal gait generation for bipedal walking robots using legendre pseudospectral optimization | IEEE Conference Publication | IEEE Xplore