4 numJoints = len(motionProxy.getJointNames(
'Body'))
13 0.0091620385646820068,
14 0.0011173889506608248,
20 -0.019900038838386536,
26 -0.024502038955688477,
36 elif (numJoints == 22):
37 angles = allAngles[0:6] + allAngles[8:24]
39 rospy.logerr(
"Unkown number of joints: %d", numJoints)
43 motionProxy.angleInterpolation(
'Body', angles, 1.5,
True);
45 except RuntimeError,e:
46 print "An error has been caught" def startWalkPose(motionProxy)