Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. from naoqi import ALBroker
  2. from naoqi import ALProxy
  3.  
  4. from pprint import pprint
  5.  
  6. # start a local broker that connects to the NAO
  7. robot_ip = "your-ip-here"
  8. myBroker = ALBroker("myBroker", "0.0.0.0", 0, robot_ip, 9559)
  9.  
  10. # get a handle to the module
  11. posture_proxy = ALProxy("ALRobotPosture")
  12.  
  13. pprint(posture_proxy.getMethodList())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement