Steps of install naoqi
Requirements
-
Make sure you have either python 2.7 or 2.6 on your machine, so far those are the supported ones. In my case I used python 2.7
-
Go the system preferences and change to allowable downloadable apps from app store. Don't choose the second with another restriction
-
Download both the python sdk and nao sdk from https://developer.softbankrobotics.com/nao6/downloads/nao6-downloads-linux
-
Unzip the files and place them in your preferred folder in a preferred directory e.g Documents
-
rename the folders to a shorter preferred name, e.g., naoqi-sdk and pynaoqi-python
-
Then run the following on your terminal export PYTHONPATH=path_to_folders/pynaoqi-python/lib/python2.7/site-packages export AL_DIR=path_to_folders/nao/naoqi-sdk export AL_DIR_SIM=path_to_folders/nao/naoqi-sdk
-
Then test in the terminal with $python
import naoqi
import qi
If you get the result above with no errors, congrats!
Okay so now make the paths permanent Run source ~/.bash_profile
Now test that in another terminal, rerun the example and see if you still get no errors.
If you do get errors, check if the paths are correct If you run e.g $export AL_DIR_SIM in the terminal you should get exactly the same path you set If any of the 3 paths is incorrect, reset it and rerun source ~/.bash_profile
Try this http://doc.aldebaran.com/1-14/getting_started/helloworld_choregraphe_script.html