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_envGo 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/libTo make it permanent:
echo 'export PYTHONPATH=$PYTHONPATH:/path/to/naoqi-sdk/lib' >> ~/.bashrc
source ~/.bashrcpython2 main.pypython2 main.pyMake sure your NAO is powered on and connected to the same network.
Update theROBOT_IPvariable inmain.pyto match your NAO's IP address.
Bakel Bakel
Marine Autonomy | Robotics | NAO Developer