Affordance imitation/Archive

From ISRWiki
Jump to navigation Jump to search

Old setup at vislab repository

Instructions to install and run this demo, for the POETICON++ project. This has been tested with Ubuntu 12.04, 32-bit and 64-bit.

Requirements

From source

Do not forget to add the build directory of the demoAffv3 to your PATH variable.

 export PATH=$PATH:~/workspace/vislab/prj/poeticon++/demoaffv3/build

From binaries

Set your source list as explained on iCub.org:

  sudo sh -c 'echo "deb http://www.icub.org/ubuntu precise contrib/science" > /etc/apt/sources.list.d/icub.list'

Install the icub and icub-common packages:

 sudo apt-get update
 sudo apt-get install icub icub-common

Do not forget to add the build directory of the demoAffv3 to your PATH variable.

 export PATH=$PATH:~/workspace/vislab/prj/poeticon++/demoaffv3/build

Build

Checkout the project from the Vislab's repository:

 svn co svn://svn.isr.ist.utl.pt/vislab

Compile the project:

 cd vislab/prj/poeticon++/demoaffv3
 mkdir build; cd build
 cmake ..
 make

Verify that the build reached 100% and that you have all of the following binaries:

 affordanceController       
 behaviorController             
 attentionSelection               
 effectDetector  
 blobDescriptor      
 edisonSegmenter
 controlGaze