Skip to content

Instantly share code, notes, and snippets.

@FirefoxMetzger
Created March 15, 2019 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FirefoxMetzger/c14cc29c6b991f16629c296f1d5edd2d to your computer and use it in GitHub Desktop.
Save FirefoxMetzger/c14cc29c6b991f16629c296f1d5edd2d to your computer and use it in GitHub Desktop.
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