old_contents: import sys
  import motion
  import almath
  import time
  from naoqi import ALProxy
  
  
  def StiffnessOn(proxy):
    #We use the "Body" name to signify the collection of all joints
    pNames = "Body"
    pStiffnessLists = 1.0
    pTimeLists = 1.0
    proxy.stiffnessInterpolation(pNames, pStiffnessLists, pTimeLists)
  
  
  def main(robotIP):
      """ Example showing a path of two positions
      Warning: Needs a PoseInit before executing
      """
  
      # Init proxies.
      try:
          motionProxy = ALProxy("ALMotion", robotIP, 9559)
      except Exception, e:
          print "Could not create proxy to ALMotion"
          print "Error was: ", e
  
      try:
          postureProxy = ALProxy("ALRobotPosture", robotIP, 9559)
      except Exception, e:
          print "Could not create proxy to ALRobotPosture"
          print "Error was: ", e
  
      # Set NAO in Stiffness On
      StiffnessOn(motionProxy)
  
      # Send NAO to Pose Init
      postureProxy.goToPosture("StandInit", 0.5)
  
      
  
      motionProxy.angleInterpolation()
      
      time.sleep(1)
   #   postureProxy.goToPosture("Sit")
      
  robotIp = "10.15.89.247"
  main(robotIp)
new_contents: import sys
  import motion
  import almath
  import time
  from naoqi import ALProxy
  
  
  def StiffnessOn(proxy):
    #We use the "Body" name to signify the collection of all joints
    pNames = "Body"
    pStiffnessLists = 1.0
    pTimeLists = 1.0
    proxy.stiffnessInterpolation(pNames, pStiffnessLists, pTimeLists)
  
  
  def main(robotIP):
      """ Example showing a path of two positions
      Warning: Needs a PoseInit before executing
      """
  
      # Init proxies.
      try:
          motionProxy = ALProxy("ALMotion", robotIP, 9559)
      except Exception, e:
          print "Could not create proxy to ALMotion"
          print "Error was: ", e
  
      try:
          postureProxy = ALProxy("ALRobotPosture", robotIP, 9559)
      except Exception, e:
          print "Could not create proxy to ALRobotPosture"
          print "Error was: ", e
  
      # Set NAO in Stiffness On
      StiffnessOn(motionProxy)
  
      # Send NAO to Pose Init
      postureProxy.goToPosture("StandInit", 1)
  
      
      postureProxy.goToPosture("Sit")
      
  robotIp = "10.15.89.247"
  main(robotIp)
subject: change name