VVV11 Installation

From Wiki for iCub and Friends
Revision as of 19:48, 19 July 2011 by Lorenzo (talk | contribs) (Some step you should not miss (all systems))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Follow instructions on Chapter 6 of the manual (Software, Installing YARP and iCub):

Software Installation instructions

These instructions will allow you compile YARP and the iCub software (including the simulator).

For Windows we recommend you use the precompiled binaries, as explained below.


Some step you should not miss (all systems)

  • Don't forget to set the YARP_DIR environment variable to point to the YARP build directory (where cmake has built the project) or the place where you have installed the executables.
  • Don't forget to set ICUB_DIR environment variable to point to the iCub build directory (where cmake has built the project) or the place where you have installed the executables.
  • Don't forget to set ICUB_ROOT environment variable for example to the root of the sources (i.e. /home/nat/iCub but not /home/nat/iCub/main!)
  • Install applications; run make install_applications in Linux or build the install_applications target on Visual Studio (the simulator will crash if you miss this step).
  • The installers for Windows set the environment for you.

Windows: Precompiled binaries

  • Get YARP 2.3.6 installer from here:

http://eris.liralab.it/yarp/downloads/yarp2/windows/

  • Get iCub 1.1.3 installer from here:

http://eris.liralab.it/iCub/downloads/releases/

Pick the version that match your compiler.

  • Run the YARP installer, leave all options to on (default)
  • Run the iCub installer, leave all options to on (default).

This configuration works for most users. If you want to use YARP and iCub from svn you can disable their installation so you get all dependencies and proceed with the normal installation instructions.

Some more verbose information: http://eris.liralab.it/wiki/Binary_packages#Install_precompiled_versions_of_iCub_and_YARP

Important: as you probably noticed the network is quite slow, we have all the installers in a USB key (ask Lorenzo).

Checking your installation

  • Checking YARP:

Start a yarp nameserver:

 yarpserver3
 

Start a viewer:

 yarpview --name /viewer

Start a fake frame grabber, this is an executable that produces images:

 yarpdev --device test_grabber --name /grabber

Connect the two:

 yarp connect /grabber /viewer
  • Checking iCub:

Run for example the simulator:

 iCub_SIM

Two viewers:

 yarpview --name /view/left
 yarpview --name /view/right

Connect the cameras from the simulator to the viewers:

 yarp connect /icubSim/cam/left /view/left
 yarp connect /icubSim/cam/right /view/right