NAOqi Basic


In [11]:
from naoqi import ALProxy


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-11-a43b9e26a4ef> in <module>()
----> 1 from naoqi import ALProxy

ImportError: No module named naoqi

In [8]:
tts = ALProxy('ALTextToSpeech', 'nao6.local', 9559)


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-8-552feea06432> in <module>()
----> 1 tts = ALProxy('ALTextToSpeech', 'nao6.local', 9559)

NameError: name 'ALProxy' is not defined

In [4]:
tts.say('Hi, I am here. Have you enjoy?')


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-4-f535963999a9> in <module>()
----> 1 tts.say('Hi, I am here. Have you enjoy?')

NameError: name 'tts' is not defined

In [5]:
motion = ALProxy('ALMotion', 'nao6.local', 9559)


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-5-9c2a8a96cc38> in <module>()
----> 1 motion = ALProxy('ALMotion', 'nao6.local', 9559)

NameError: name 'ALProxy' is not defined

In [6]:
motion.wakeUp()


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-6-449ca8ab6a2e> in <module>()
----> 1 motion.wakeUp()

NameError: name 'motion' is not defined

In [7]:
motion.rest()


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-7-832d84f6829b> in <module>()
----> 1 motion.rest()

NameError: name 'motion' is not defined

In [ ]: