Created
March 15, 2019 16:32
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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