This project implements interactive behaviours using Choregraphe and NAOqi Python SDK.
It includes both the original graphical behavior (behavior.xar
), the choregraphe file, the exported crg file in export/ and a modular Python version that performs the same speech-triggered gestures.
- Works with the NAO virtual robot (simulated test) or a real NAO robot (live speech recognition)
pyenv install 2.7.18
pyenv virtualenv 2.7.18 nao_env
pyenv activate nao_env
Go to SoftBank Robotics Community Downloads
Download: pynaoqi-python2.7-2.8.6.23-linux64.tar.gz
tar -xzf pynaoqi-python2.7-2.8.6.23-linux64.tar.gz
export PYTHONPATH=$PYTHONPATH:/full/path/to/pynaoqi-python2.7-2.8.6.23-linux64/lib
To make it permanent:
echo 'export PYTHONPATH=$PYTHONPATH:/path/to/naoqi-sdk/lib' >> ~/.bashrc
source ~/.bashrc
python2 main.py
python2 main.py
Make sure your NAO is powered on and connected to the same network.
Update theROBOT_IP
variable inmain.py
to match your NAO's IP address.
Bakel Bakel
Marine Autonomy | Robotics | NAO Developer