ICub instructions/Archive: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
(ubuntu .sh desktop icons)
Line 1: Line 1:
''Note: these methods are obsolete and kept here for historic reference only. Most probably, you may ignore this page and go back to [[iCub demos]].''
''Note: these methods are obsolete and kept here for historic reference only. Most probably, you may ignore this page and go back to [[iCub demos]].''


= Notes =
= Useful things to archive =


== Desktop icons to launch the Application Manager and XMLs ==
== Desktop icons to launch the Application Manager and XMLs ==
Line 14: Line 14:
Note that Resource Finder searches for XMLs in <code>$ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/</code> first, then in a number of other directories.
Note that Resource Finder searches for XMLs in <code>$ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/</code> first, then in a number of other directories.


== Starting YARP components ==
= Starting YARP components =


In case that (i.e., cluster_manager.sh) did not work, you can launch the program in a terminal:
In case that (i.e., cluster_manager.sh) did not work, you can launch the program in a terminal:
Line 21: Line 21:
   ./icub-cluster.py $ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/vislab-cluster.xml
   ./icub-cluster.py $ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/vislab-cluster.xml


== Other components ==
= Other components =


=== Cameras ===
== Cameras ==


In case that (i.e., cameras.sh) did not work, type this inside a chico3 console:
In case that (i.e., cameras.sh) did not work, type this inside a chico3 console:

Revision as of 12:03, 10 February 2010

Note: these methods are obsolete and kept here for historic reference only. Most probably, you may ignore this page and go back to iCub demos.

Useful things to archive

Desktop icons to launch the Application Manager and XMLs

Example: cameras.sh icon (to be placed in ~/Desktop/) contains:

 #!/bin/bash
 source ~/.bash_env
 cd $ICUB_ROOT/app/default/scripts
 ./manager.py cameras_320x240.xml

Note that Resource Finder searches for XMLs in $ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/ first, then in a number of other directories.

Starting YARP components

In case that (i.e., cluster_manager.sh) did not work, you can launch the program in a terminal:

  cd $ICUB_ROOT/app/default/scripts
  ./icub-cluster.py $ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/vislab-cluster.xml

Other components

Cameras

In case that (i.e., cameras.sh) did not work, type this inside a chico3 console:

  cd $ICUB_ROOT/app/default/scripts
  ./manager.py cameras_320x240.xml

That XML file is actually located in $ICUB_ROOT/app/$ICUB_ROBOTNAME/scripts/. Resource Finder gives priority to that directory, when $ICUB_ROBOTNAME is defined, as is the case for us (iCubLisboa01).

Alternatively, the second command can use the cameras_640x480.xml configuration, if you need a larger resolution.