This shows you the differences between two versions of the page.
fastdev:icub_memoman [2010/07/20 17:28] – created memeruiz | fastdev:icub_memoman [2010/07/29 10:09] (current) – made the NFS dependency a bit clearer kresse | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== iCub imitation demo ====== | ||
+ | |||
+ | PLEASE look at the last warning point in this page before trying to execute this demo. | ||
+ | |||
+ | ===== In the robot ===== | ||
+ | |||
+ | * Start up the iCub robot. Instructions [[ias: | ||
+ | |||
+ | ===== In a client computer ===== | ||
+ | |||
+ | Prerequisites: | ||
+ | |||
+ | * Configure the yarp namespace to /icub | ||
+ | |||
+ | yarp namespace /icub | ||
+ | |||
+ | * Add your laptop to the local network of the iCub (x is any number not already used) (already used: 1,2,3) | ||
+ | |||
+ | ifconfig eth0:0 10.0.0.x netmask 255.255.255.0 | ||
+ | |||
+ | * Check that you have network connection to the robot and the robot laptop: | ||
+ | |||
+ | ping 10.0.0.1 | ||
+ | ping 10.0.0.2 | ||
+ | |||
+ | * Let yarp detect the yarp server from the robot laptop: | ||
+ | |||
+ | yarp detect --write | ||
+ | |||
+ | * If last step doesn' | ||
+ | |||
+ | yarp conf 10.0.0.1 10000 | ||
+ | |||
+ | * Get the OID5 repository. | ||
+ | * Inside the oid5 repository you will find the application memoman2icub in tools/ | ||
+ | * Inside of this directory you will also find an example data directory ('' | ||
+ | * Run the following command: | ||
+ | |||
+ | ./ | ||
+ | |||
+ | * In last step the robot should start moving according to the human movements on the video. A video window will appear on the client' | ||
+ | * For stopping the demo, just press _one_ CTRL-c in the console where ./ | ||
+ | * WARNING: READ THIS!!. Please use only _one_ CTRL-c to stop the demo application. Don't try to kill the application in other ways. This application is a position controller sending speeds commands to the robot. If this application stops communicating with the robot, to robot will keep executing the last received speed until it crashes against something. When the user sends one CTRL-c the application parks and stops the robot properly. | ||