Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Print the full list of methods (including undocumented) that a naoqi module has to offer
from naoqi import ALBroker
from naoqi import ALProxy
from pprint import pprint
# start a local broker that connects to the NAO
robot_ip = "your-ip-here"
myBroker = ALBroker("myBroker", "0.0.0.0", 0, robot_ip, 9559)
# get a handle to the module
posture_proxy = ALProxy("ALRobotPosture")
pprint(posture_proxy.getMethodList())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment