I have set angles for joints in the arm, and want to make NAO walk few centimeters, but as soon as the robot starting walking the arms moves from the initial position. I do it as follows by setting stiffness of the arms to 1.0 after they are set to their target positions:
self.motion.wakeUp()
self.set_stiffness(['RArm', 'LArm'], 1.0)
self.motion.moveTo(0.3, 0.0, 0.0)
what is missing here to make the arms position unchanged while make NAO walks 0.3 meters?
You could deactivate the arms' motion relative to walk by using the ALMotion proxy's method setWalkArmsEnabled(False,False).
(or from other version depending of the robot you use)
Good luck!