NAO Setup

Warning

Instructions here are not complete yet.

Follow these instructions to prepare Naos, that are brand new or have been factory reset, to run the rUNSWift codebase.

Naoqi is the OS for the NAO.

Download opn file

OpenNao (opn) files are the image file for the Nao robot. Download using

rsync -P runswift@runswift2.cse.unsw.edu.au:/var/www/html/opennao2/build-2.8.5.1x/nao-2.8.5.11_ROBOCUP_ONLY_with_root.opn .

Note

For passwords, please Contact us.

Warning

Due to software licensing between Softbank and RoboCup SPL, teams can’t publicly release the Naoqi OS provided by Softbank.

Create Naoqi USB

  1. Follow the instructions on Softbank’s Documentation

    Note

    The 2.1-flasher also works with the 2.8-opn

Flashing the NAO

  1. Insert the USB stick into the back of the robots head
  2. Press and hold down the chest button on the Nao until it lights up blue
  3. Wait until it says Ognak gnuk! and starts looking around

Tip

If this step takes too long (>30 minutes) turn the robot off and retry flashing.

Robot Config, Name and Wifi Setup

Run

nao_sync -s -h nao.local mario

Note

Replace mario with the name of the new robot. Robot names should consist of lower case alphabets or numbers

Tip

After plugging your work machine into your Nao via an ethernet cable, you can also use the Softbank web page at http://nao.local/ (username/password are nao/nao respectively) to change the Nao’s name.

Places to add <NAME>

  1. <NAME>.cfg in /image/home/nao/data/configs/ and /image/home/nao/data/configs/body/

  2. in source.sh add the <NAME> to the appropriate list of names on line 150 or 153 (approx)

  3. Add the name and a new ip number in utils/wifitools/updateWlanSetup.py - The wifi IP will be zzz.zzz.18.1XX, where you set XX in the dictionary and zzz.zzz is usually 10.0.* or 192.168.*. The idea is that the ethernet ip is .18.XX, and the wifi is .18.1XX for a given robot, but we use DHCP on ethernet and shouldn’t use the same subnet for both wired and wireless anyway.