Nao/Dependencies

Nao Dependencies

There are three types of dependencies that you have to fulfill to make Fawkes run on your Nao:

Dependencies of the build host

Your build host should have everything documented as required or recommended dependencies in FawkesDependencies. If you want to use the simulator you have to install Webots. To make use of NaoQi on your local host you have to download it from Aldebaran. There must be a symbolic link at /opt/naoqi pointing to your NaoQi directory.

Dependencies of the build environment

For cross-compilation of Fawkes for the Nao you need an OpenEmbedded tool chain on your development machine. These are the step to get you going:

  1. Download  oe-fawkes-20080805.i686.tar.bz2 for 32-bit systems and  oe-fawkes-20080805.x86_64.tar.bz2 for 64-bit machines.
  2. As root execute the following commands:
    cd /opt
    tar xf /path/to/oe-fawkes.$(arch).tar.gz
    

The tool chain is now installed and can be used. To build the tool chain from scratch follow the instructions at Nao/OpenNaoBuild.

Dependencies on the Nao

To execute the cross-compiled version of Fawkes on the Nao requires a few libraries on the Nao which are not installed by default. If you setup a robot from scratch follow the instructions at Nao/RobotSetup, else follow the instructions below to install only the necessary packages:

  1. Edit /etc/ipkg.conf and add a line reading
    src zadeat http://robocup.rwth-aachen.de/naorepo
    
    Comment out the lines by Aldebaran that reference a host named "sirius". This repository is not publically available and thus needs to be removed.
  2. Execute the following commands on the robot to upgrade the base packages and install new ones:
    # do *not* merge the following the install commands!
    ipkg update
    ipkg remove -force-depends ncurses ncurses-ncurses
    ipkg install ncurses ncurses-terminfo
    ipkg upgrade
    ipkg install dbus
    ipkg install avahi-daemon libavahi-client
    ipkg install bash bash-completion
    ipkg install vim vim-syntax less
    ipkg install lua libtolua++ sqlite3 file rsync
    

Read on at Nao/GettingStarted.