Difference between revisions of "Nao"

From Lofaro Lab Wiki
Jump to: navigation, search
(Include in your python path)
(Install Python NaoQI)
Line 12: Line 12:
 
Make the following folder in /opt
 
Make the following folder in /opt
 
   $ sudo mkdir /opt/nao
 
   $ sudo mkdir /opt/nao
Move the folder pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915 to /opt/nao
+
Move the folder pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915 to /opt/nao and set global permissions
 
   $ sudo mv pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915 /opt/nao/
 
   $ sudo mv pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915 /opt/nao/
 +
  $ sudo chmod 777 /opt/nao/ -R
  
 
=== Include in your python path ===
 
=== Include in your python path ===

Revision as of 19:48, 18 February 2019

Software Archive

For software pertaining to the Nao v6 at the date of purchase by GMU please see the link below

Install Software

Ubuntu

This was tested using Ubuntu 16.04.5

Install Python NaoQI

Download the Python NaoQI from above. Here we used version pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915. Once it is downloaded unzip the archive

 $ unzip pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915.zip

Make the following folder in /opt

 $ sudo mkdir /opt/nao

Move the folder pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915 to /opt/nao and set global permissions

 $ sudo mv pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915 /opt/nao/
 $ sudo chmod 777 /opt/nao/ -R

Include in your python path

Add the following line to the bottom of your ~/.bashrc

 export PYTHONPATH=$PYTHONPATH:/opt/nao/pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915/lib/python2.7/site-packages
 source ~/.bashrc