The NAO Communication server will get redesigned until end of summer 2014 For more details fiew NAO Com II |
NAO Communication Server Project
The NAO communication server is a combination of two projects to control a NAO remotely via an android application.
It bases on a Python server, started on the NAO and an Java android app, that sends command to the server. The server can execute several commands on the NAO.
Communication Server
The NAO Communication Server is s python based server, that is executed on the NAO and recieves command from the NAO Com application.
The Server stores several modules, one for each command, and executes that module if it recieves the command specified in the module.
It can also send data to the ALMemory-Systemof the NAO to start individual Choregraphe programs.
Android App NAO Com
Installation
Downloads
Download the Android app from Google Play store: https://play.google.com/store/apps/details?id=de.robotik.nao.communicator
Download the installtion guide: install_guide.pdf
Download the Communication Server: naocom-server.tar.gz
Download the Choregraphe: naocom.crg
Github-Projects
You can also checkout the corrresponding git projects.
Please take care, that these are sometimes nightly builds and can cause erros!
- NAO Communication Server: https://github.com/NorthernStars/NAO-Communication-server.git
- NAO Com App: https://github.com/NorthernStars/NAO-Com.git
NAO Communication Server
Extract the NAO Communications Server package and upload it to your NAO via ftp or ssh.
Put it into the naos home folder, for example into /home/nao/naocom/
Edit the file autoload.ini for example via ssh terminal:
nano /home/nao/naoqi/preferences/autoload.ini
Add the following line to section [python]:
/home/nao/naocom/communication_server.py
Where /home/nao/naocom/ is the folder you put your communication server into.
This will load the communication server everytime naoqi starts.
You can also use your favorite fto-client to download, edit and upload the autoload.ini.
Sounds
Some commands are loading sounds from NAOs flash drive.
So you should extract the sounds to /home/nao/sounds/.
You can use your favorite ftp client to do this.
NAO Com Choregraphe file
Use your Choregraphe to upload the naocom.crg file your NAO. Set it as default inside the Behaviour manager. If your Behaviour manager isn't visible, open it with View > Behaviour manager |
![]() |
NAO Com App
If you visit the Google Play Store an search for NAO Com and install the app there is nothing more to do.
If you want to compile the app from repository, export it using Android SDK Tools.
Maybe you need to set some development settings on you device if you use the app this way.
Usage
Take a look at the following articles to find out more details about how to use the NAO Communication project.
Add your own Commands
There are two ways to add a new command to NAO Communication Server and NAO Com app.
You can add your command as python code or as a Choregraphe program, wich is much simplier and also allows complex animations or behaviours.
Detailed infstructions for both methods are coming soon.