Skip to content

This repository contains the project and script files for programming a Nao Humanoid robot to interact with people. Listen, speak, communicate, and make various gestures

Notifications You must be signed in to change notification settings

Bakel-Bakel/Interactive-Humanoid-Nao

Repository files navigation

NAO Interactive Behavior (Choregraphe + Python SDK)

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.


Features

  • Works with the NAO virtual robot (simulated test) or a real NAO robot (live speech recognition)

Getting Started

1️⃣ Clone the Repository


2️⃣ Set Up Python 2.7 Environment (recommended: pyenv)

pyenv install 2.7.18
pyenv virtualenv 2.7.18 nao_env
pyenv activate nao_env

3️⃣ Install NAOqi Python SDK

Download

Go to SoftBank Robotics Community Downloads
Download: pynaoqi-python2.7-2.8.6.23-linux64.tar.gz

Extract and Configure

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

How to Run

For Testing (No Real Robot Needed)

python2 main.py

🗣️ For Live Speech Recognition (Real NAO Robot Required)

python2 main.py

Make sure your NAO is powered on and connected to the same network.
Update the ROBOT_IP variable in main.py to match your NAO's IP address.


Author

Bakel Bakel
Marine Autonomy | Robotics | NAO Developer

About

This repository contains the project and script files for programming a Nao Humanoid robot to interact with people. Listen, speak, communicate, and make various gestures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published