Difference between revisions of "Nao"

From Lofaro Lab Wiki
Jump to: navigation, search
(Include in your python path)
(Added nao progress)
 
(One intermediate revision by one other user not shown)
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 ===
Line 19: Line 20:
 
   export PYTHONPATH=$PYTHONPATH:/opt/nao/pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915/lib/python2.7/site-packages
 
   export PYTHONPATH=$PYTHONPATH:/opt/nao/pynaoqi-python2.7-2.8.5.10-linux64-20181203_200915/lib/python2.7/site-packages
 
   source ~/.bashrc
 
   source ~/.bashrc
 +
 +
=Nao Inverse Kinematics Example on Youtube=
 +
==Video==
 +
[https://www.youtube.com/watch?v=NNvMeqTa_r0&feature=youtu.be Video Here]
 +
==Software==
 +
Repository for the code used [https://github.com/thedancomplex/nao_examples/tree/feature/FK here]
 +
 +
Files used in video forwardKinematics.py, jacobianInverseExample.py, and motion_poseZero.py

Latest revision as of 21:24, 18 March 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

Nao Inverse Kinematics Example on Youtube

Video

Video Here

Software

Repository for the code used here

Files used in video forwardKinematics.py, jacobianInverseExample.py, and motion_poseZero.py