$ python
Python 2.7.3 (default, Sep 8 2015, 19:02:10)
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> from naoqi import ALProxy
>>> m = ALProxy("ALMemory", "localhost", 9559) #The connection destination is localhost,Specify 9559 as the port.
>>> m.raiseEvent("Hoge/TestEvent", "hugahuga")
that's all.
Recommended Posts