<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mediawiki.isr.tecnico.ulisboa.pt/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mtaiana</id>
	<title>ISRWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://mediawiki.isr.tecnico.ulisboa.pt/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mtaiana"/>
	<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/wiki/Special:Contributions/Mtaiana"/>
	<updated>2026-07-02T18:09:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Cortex&amp;diff=5899</id>
		<title>Cortex</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Cortex&amp;diff=5899"/>
		<updated>2014-09-12T13:04:51Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* NVIDIA CUDA and Caffe (Deep Neural Network suite for Matlab) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cortex is a server used by VisLab for &#039;&#039;&#039;development&#039;&#039;&#039; purposes (by contrast, the [[iCubBrain server configuration | iCubBrain]] servers are used for demos).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Old information can be consulted at [[Cortex/Archive]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Specifications =&lt;br /&gt;
&lt;br /&gt;
Since summer 2012, there is one machine (cortex1) with these specs:&lt;br /&gt;
* 8 x [http://ark.intel.com/products/65523/Intel-Core-i7-3770K-Processor-(8M-Cache-up-to-3_90-GHz) i7-3770K] @ 3.50GHz processor&lt;br /&gt;
* 16GB of memory (&amp;lt;code&amp;gt;sudo dmidecode --type 17&amp;lt;/code&amp;gt; to see RAM speed and type)&lt;br /&gt;
* 112GB SSD drive&lt;br /&gt;
* NVidia [http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-670 GeForce GTX 670] graphics card (CUDA)&lt;br /&gt;
&lt;br /&gt;
= Operating system installation =&lt;br /&gt;
&lt;br /&gt;
In general, follow the guidelines at [[VisLab machines configuration]]. Below are some special notes.&lt;br /&gt;
&lt;br /&gt;
= Additional software =&lt;br /&gt;
&lt;br /&gt;
On this cluster, each user should manage his own yarp and iCub repositories. As a result, &#039;&#039;&#039;do not&#039;&#039;&#039; use system-wide installation of those (&amp;lt;strike&amp;gt;&amp;lt;code&amp;gt;sudo make install&amp;lt;/code&amp;gt;&amp;lt;/strike&amp;gt;): instead, simply use &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; and set your environment variables.&lt;br /&gt;
&lt;br /&gt;
== YARP and iCub ==&lt;br /&gt;
&lt;br /&gt;
The yarp and iCub repositories are installed for user &#039;icub&#039;, similarly to [[iCubBrain server configuration]].&lt;br /&gt;
&lt;br /&gt;
== NVIDIA CUDA and Caffe (Deep Neural Network suite for Matlab) ==&lt;br /&gt;
On Sept. 12 2014 the CUDA Toolbox V6.0 was installed system, along with the V331.62 NVIDIA driver. Everything seems to be working fine.&lt;br /&gt;
&lt;br /&gt;
Caffe was built in a directory under Jacinto&#039;s home, its tests reporting:&lt;br /&gt;
  [==========] 718 tests from 154 test cases ran. (107744 ms total)&lt;br /&gt;
  [  PASSED  ] 718 tests.&lt;br /&gt;
  YOU HAVE 2 DISABLED TESTS&lt;br /&gt;
&lt;br /&gt;
I have no clue what the disabled test mean. Maybe it&#039;s just a matter of not having the right kind of HardWare for running those tests.&lt;br /&gt;
&lt;br /&gt;
= Customization =&lt;br /&gt;
&lt;br /&gt;
== Network tuning ==&lt;br /&gt;
&lt;br /&gt;
   sysctl -w net.core.rmem_max=8388608&lt;br /&gt;
   sysctl -w net.core.wmem_max=8388608&lt;br /&gt;
   sysctl -w net.core.rmem_default=65536&lt;br /&gt;
   sysctl -w net.core.wmem_default=65536&lt;br /&gt;
   sysctl -w net.ipv4.tcp_rmem=&#039;4096 87380 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.tcp_wmem=&#039;4096 65536 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.tcp_mem=&#039;8388608 8388608 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.route.flush=1&lt;br /&gt;
&lt;br /&gt;
== Mounting network folders  ==&lt;br /&gt;
&lt;br /&gt;
The folder &amp;quot;database&amp;quot; on BlackHole is mounted automatically to /media/blackhole. See /etc/fstab for details.&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Cortex&amp;diff=5898</id>
		<title>Cortex</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Cortex&amp;diff=5898"/>
		<updated>2014-09-12T13:04:29Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* NVIDIA CUDA and Caffe (Deep Neural Network suite for Matlab) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cortex is a server used by VisLab for &#039;&#039;&#039;development&#039;&#039;&#039; purposes (by contrast, the [[iCubBrain server configuration | iCubBrain]] servers are used for demos).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Old information can be consulted at [[Cortex/Archive]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Specifications =&lt;br /&gt;
&lt;br /&gt;
Since summer 2012, there is one machine (cortex1) with these specs:&lt;br /&gt;
* 8 x [http://ark.intel.com/products/65523/Intel-Core-i7-3770K-Processor-(8M-Cache-up-to-3_90-GHz) i7-3770K] @ 3.50GHz processor&lt;br /&gt;
* 16GB of memory (&amp;lt;code&amp;gt;sudo dmidecode --type 17&amp;lt;/code&amp;gt; to see RAM speed and type)&lt;br /&gt;
* 112GB SSD drive&lt;br /&gt;
* NVidia [http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-670 GeForce GTX 670] graphics card (CUDA)&lt;br /&gt;
&lt;br /&gt;
= Operating system installation =&lt;br /&gt;
&lt;br /&gt;
In general, follow the guidelines at [[VisLab machines configuration]]. Below are some special notes.&lt;br /&gt;
&lt;br /&gt;
= Additional software =&lt;br /&gt;
&lt;br /&gt;
On this cluster, each user should manage his own yarp and iCub repositories. As a result, &#039;&#039;&#039;do not&#039;&#039;&#039; use system-wide installation of those (&amp;lt;strike&amp;gt;&amp;lt;code&amp;gt;sudo make install&amp;lt;/code&amp;gt;&amp;lt;/strike&amp;gt;): instead, simply use &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; and set your environment variables.&lt;br /&gt;
&lt;br /&gt;
== YARP and iCub ==&lt;br /&gt;
&lt;br /&gt;
The yarp and iCub repositories are installed for user &#039;icub&#039;, similarly to [[iCubBrain server configuration]].&lt;br /&gt;
&lt;br /&gt;
== NVIDIA CUDA and Caffe (Deep Neural Network suite for Matlab) ==&lt;br /&gt;
On Sept. 12 2014 the CUDA Toolbox V6.0 was installed system, along with the V331.62 NVIDIA driver. Everything seems to be working fine.&lt;br /&gt;
&lt;br /&gt;
Caffe was built in a directory under Jacinto&#039;s home, its tests reporting:&lt;br /&gt;
  [==========] 718 tests from 154 test cases ran. (107744 ms total)&lt;br /&gt;
  [  PASSED  ] 718 tests.&lt;br /&gt;
  YOU HAVE 2 DISABLED TESTS&lt;br /&gt;
&lt;br /&gt;
I have no clue what the disables test mean. Maybe it&#039;s just a matter of not having the right kind of HardWare for running those tests.&lt;br /&gt;
&lt;br /&gt;
= Customization =&lt;br /&gt;
&lt;br /&gt;
== Network tuning ==&lt;br /&gt;
&lt;br /&gt;
   sysctl -w net.core.rmem_max=8388608&lt;br /&gt;
   sysctl -w net.core.wmem_max=8388608&lt;br /&gt;
   sysctl -w net.core.rmem_default=65536&lt;br /&gt;
   sysctl -w net.core.wmem_default=65536&lt;br /&gt;
   sysctl -w net.ipv4.tcp_rmem=&#039;4096 87380 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.tcp_wmem=&#039;4096 65536 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.tcp_mem=&#039;8388608 8388608 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.route.flush=1&lt;br /&gt;
&lt;br /&gt;
== Mounting network folders  ==&lt;br /&gt;
&lt;br /&gt;
The folder &amp;quot;database&amp;quot; on BlackHole is mounted automatically to /media/blackhole. See /etc/fstab for details.&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Cortex&amp;diff=5897</id>
		<title>Cortex</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Cortex&amp;diff=5897"/>
		<updated>2014-09-12T13:04:14Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Additional software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cortex is a server used by VisLab for &#039;&#039;&#039;development&#039;&#039;&#039; purposes (by contrast, the [[iCubBrain server configuration | iCubBrain]] servers are used for demos).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Old information can be consulted at [[Cortex/Archive]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Specifications =&lt;br /&gt;
&lt;br /&gt;
Since summer 2012, there is one machine (cortex1) with these specs:&lt;br /&gt;
* 8 x [http://ark.intel.com/products/65523/Intel-Core-i7-3770K-Processor-(8M-Cache-up-to-3_90-GHz) i7-3770K] @ 3.50GHz processor&lt;br /&gt;
* 16GB of memory (&amp;lt;code&amp;gt;sudo dmidecode --type 17&amp;lt;/code&amp;gt; to see RAM speed and type)&lt;br /&gt;
* 112GB SSD drive&lt;br /&gt;
* NVidia [http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-670 GeForce GTX 670] graphics card (CUDA)&lt;br /&gt;
&lt;br /&gt;
= Operating system installation =&lt;br /&gt;
&lt;br /&gt;
In general, follow the guidelines at [[VisLab machines configuration]]. Below are some special notes.&lt;br /&gt;
&lt;br /&gt;
= Additional software =&lt;br /&gt;
&lt;br /&gt;
On this cluster, each user should manage his own yarp and iCub repositories. As a result, &#039;&#039;&#039;do not&#039;&#039;&#039; use system-wide installation of those (&amp;lt;strike&amp;gt;&amp;lt;code&amp;gt;sudo make install&amp;lt;/code&amp;gt;&amp;lt;/strike&amp;gt;): instead, simply use &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; and set your environment variables.&lt;br /&gt;
&lt;br /&gt;
== YARP and iCub ==&lt;br /&gt;
&lt;br /&gt;
The yarp and iCub repositories are installed for user &#039;icub&#039;, similarly to [[iCubBrain server configuration]].&lt;br /&gt;
&lt;br /&gt;
== NVIDIA CUDA and Caffe (Deep Neural Network suite for Matlab) ==&lt;br /&gt;
On Sept. 12 2014 the CUDA Toolbox V6.0 was installed system, along with the V331.62 NVIDIA driver. Everything seems to be working fine.&lt;br /&gt;
Caffe was built in a directory under Jacinto&#039;s home, its tests reporting:&lt;br /&gt;
  [==========] 718 tests from 154 test cases ran. (107744 ms total)&lt;br /&gt;
  [  PASSED  ] 718 tests.&lt;br /&gt;
  YOU HAVE 2 DISABLED TESTS&lt;br /&gt;
&lt;br /&gt;
I have no clue what the disables test mean. Maybe it&#039;s just a matter of not having the right kind of HardWare for running those tests.&lt;br /&gt;
&lt;br /&gt;
= Customization =&lt;br /&gt;
&lt;br /&gt;
== Network tuning ==&lt;br /&gt;
&lt;br /&gt;
   sysctl -w net.core.rmem_max=8388608&lt;br /&gt;
   sysctl -w net.core.wmem_max=8388608&lt;br /&gt;
   sysctl -w net.core.rmem_default=65536&lt;br /&gt;
   sysctl -w net.core.wmem_default=65536&lt;br /&gt;
   sysctl -w net.ipv4.tcp_rmem=&#039;4096 87380 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.tcp_wmem=&#039;4096 65536 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.tcp_mem=&#039;8388608 8388608 8388608&#039;&lt;br /&gt;
   sysctl -w net.ipv4.route.flush=1&lt;br /&gt;
&lt;br /&gt;
== Mounting network folders  ==&lt;br /&gt;
&lt;br /&gt;
The folder &amp;quot;database&amp;quot; on BlackHole is mounted automatically to /media/blackhole. See /etc/fstab for details.&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5729</id>
		<title>DollarPedestrianDetectionCode</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5729"/>
		<updated>2014-05-08T17:40:53Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Getting ready */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Piotr Dollár et. al. collected the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark], a set of data and code to evaluate pedestrian detection algorithms. The data base consists of sequences of annotated images acquired by a camera mounted on a car. The authors provide the data, some code that allow others to test their detector on that data and the results of many state-of-the-art detectors, both in a synthetic form (ROC curves), as well as in the extensive form (the actual detection bounding boxes for each image). The authors also provide other data sets and results converted to match their format.&lt;br /&gt;
&lt;br /&gt;
In order to have the system running you should download Piotr&#039;s Matlab Toolbox, the Evaluation/Labelling code and the data (image sequences, ground truth bounding boxes and detection results bounding boxes). You have link to these on the main page of the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark].&amp;lt;br&amp;gt;&lt;br /&gt;
For the code to work you need to have Matlab with the Image Toolbox installed.&lt;br /&gt;
&lt;br /&gt;
== Getting ready ==&lt;br /&gt;
You should unpack the Piotr&#039;s Matlab Toolbox somewhere and add it to the Matlab Path: &lt;br /&gt;
  addpath(genpath(&#039;/home/matteo/PMT/&#039;)); savepath;&lt;br /&gt;
&lt;br /&gt;
You should unpack the Evaluation/Labelling code in a directory that we will call $code (later, you should run Matlab from that directory).&lt;br /&gt;
&lt;br /&gt;
All the files (image data bases, annotations, detection results) should be put in some standard subdirectories of &#039;&#039;&#039;$code/&#039;&#039;&#039;.&lt;br /&gt;
You have to have one subdirectory for each db, for instance, you need one for INRIA: &#039;&#039;&#039;$code/data-INRIA/&#039;&#039;&#039;. The names are standard, they&#039;re defined in some matlab file.&amp;lt;br&amp;gt;&lt;br /&gt;
Inside the particular db directory, you need to have:&lt;br /&gt;
# the video subdirectory, &#039;&#039;&#039;$code/data-INRIA/videos&#039;&#039;&#039;, containing more subdirectories and the &amp;quot;.seq&amp;quot; files with the images&lt;br /&gt;
# the annotations subdirectory, &#039;&#039;&#039;$code/data-INRIA/annotations&#039;&#039;&#039;, containing more subdirectories and the ground truth annotations&lt;br /&gt;
# the res subdirectory, &#039;&#039;&#039;$code/data-INRIA/res&#039;&#039;&#039;, containing more subdirectories with the results of the detections obtained running various algorithms&lt;br /&gt;
&lt;br /&gt;
The detections are stored in text files. There can be either one single file for one whole directory or one file for each image. In the first case the format for the file is: (image#, x0, y0, deltaX, deltaY, confidence). In the second case, the first field is missing. The confidence value is used to plot the ROC curves.&lt;br /&gt;
I don&#039;t know if the top-left corner is (0,0) or (1,1).&lt;br /&gt;
&lt;br /&gt;
== Operations you want to do ==&lt;br /&gt;
=== Set the db you&#039;re working on ===&lt;br /&gt;
  [pth,setIds,vidIds,skip,minHt] = dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
or simply:&lt;br /&gt;
  dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
&lt;br /&gt;
=== Show db images with annotations ===&lt;br /&gt;
vbbPlayer&lt;br /&gt;
&lt;br /&gt;
=== Compute the ROC curves for the specified algorithms, on the current db ===&lt;br /&gt;
dbEval&lt;br /&gt;
&lt;br /&gt;
=== Display images with GT annotations, the detections of a specific algorithm and their evaluation (true positive, false positive, etc.) ===&lt;br /&gt;
dbBrowser&lt;br /&gt;
&lt;br /&gt;
You should set some parameters in dbBrowser.m, such as which algorithm&#039;s results you want to plot and if you want to resize the detected bounding boxes. I am not sure when you want to resize the bounding boxes, if it depends on the algorithm you are testing or on the data base you are using.&lt;br /&gt;
  rPth=[pth &#039;/res/HOG&#039;];        % directory containing results&lt;br /&gt;
  thr=[];                       % detection threshold&lt;br /&gt;
  resize={100/128, 42/64, 0};   % controls resizing of detected bbs&lt;br /&gt;
&lt;br /&gt;
This file writes plots in $code/results and data in $code/eval.&lt;br /&gt;
&lt;br /&gt;
==How to evaluate the results of your algorithm==&lt;br /&gt;
&lt;br /&gt;
You should repeat, for all the images in a given set:&lt;br /&gt;
# read one image &lt;br /&gt;
# run your classifier on it&lt;br /&gt;
# write the annotations in your results directory, e.g. &#039;&#039;&#039;$code/data-INRIA/res/myDetector/set01/V000/I00000.txt&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here&#039;s an example:&lt;br /&gt;
  close all, clear;&lt;br /&gt;
  &lt;br /&gt;
  %Add the directories where Maji code is stored to the path&lt;br /&gt;
  addpath MajiCode/ped-demo-fast-8x8x1.1/&lt;br /&gt;
  addpath MajiCode/libsvm-mat-2.84-1-fast.v3/&lt;br /&gt;
  &lt;br /&gt;
  %Set parameters for Maji&#039;s code&lt;br /&gt;
      % non max supression (similar to hog-detector)&lt;br /&gt;
      nmax_param.sw = 0.1;&lt;br /&gt;
      nmax_param.sh = 0.1;&lt;br /&gt;
      nmax_param.ss = 1.3;&lt;br /&gt;
      nmax_param.th = 0.0;&lt;br /&gt;
  &lt;br /&gt;
      % detector is run at this scaleratio with a stride of 8x8&lt;br /&gt;
      scaleratio = 2^(1/8);&lt;br /&gt;
  &lt;br /&gt;
      % load precomputed models&lt;br /&gt;
      load approx_models;&lt;br /&gt;
      approx_model_hard = approx_models{2}; &lt;br /&gt;
      %two slightly different models (#training) &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  %Open the image sequence file (INRIA test set)&lt;br /&gt;
  seqReader = seqIo( &#039;data-INRIA/videos/set01/V000.seq&#039;, &#039;reader&#039;); %The pointer initially points to image -1, after the first sequReader.next() it points to image 1&lt;br /&gt;
  outputDirectory = &#039;data-INRIA/res/MatteoMaji/set01/V000/&#039;; %Set where to write the results&lt;br /&gt;
  info = seqReader.getinfo();&lt;br /&gt;
  nImages = info.numFrames;&lt;br /&gt;
  &lt;br /&gt;
  %Run the detector on each image, store bounding boxes results (and images?)&lt;br /&gt;
  for (imageNumber = 1 : nImages)&lt;br /&gt;
    seqReader.next();                          %Move pointer to the next image&lt;br /&gt;
    [image, timeStamp] = seqReader.getframe(); %Get current image&lt;br /&gt;
    [dr,ds] = run_detectorForDollar(image,approx_model_hard,scaleratio,nmax_param, outputDirectory, imageNumber-1); %Detect pedestrians (imageNumber is -1 because file numbers start from 0!)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Once you have you detections, you can evaluate them with &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, I had to change some parameters like this:&lt;br /&gt;
  dataNames={&#039;InriaTest&#039;};  %Evaluate algorithms on INRIA test&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case &#039;InriaTest&#039;&lt;br /&gt;
      aIds=[7 15]; bnds=[]; %Evaluate only HIKSVM and my algorithm&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case 15,    alg=def(&#039;MatteoMaji&#039;,1,id); %Define the name and directory for my algorithm&lt;br /&gt;
  %I&#039;m not quite sure what the 1 means&lt;br /&gt;
&lt;br /&gt;
After running &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, you can run &#039;&#039;&#039;dbBrowser.m&#039;&#039;&#039; and compare your detection bounding boxes with the ground truth ones, inspect whether or not the evaluation software considers a detection as successful, etc.&lt;br /&gt;
&lt;br /&gt;
You can change some parameters in &#039;&#039;&#039;dbEval.m&#039;&#039;&#039; so that it creates albums showing the mistakes a specific algorithm makes.&lt;br /&gt;
(Be careful to select only one algorithm to evaluate, otherwise you will create at least tens of albums!)&lt;br /&gt;
&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fp&#039; ); %The third parameter tells the system how many pages of false positives to save at most&lt;br /&gt;
  plotBb( res, rDir, 0, &#039;tp&#039; );  %If you want to save true positives&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fn&#039; ); %The third parameter tells the system how many pages of false negatives to save at most&lt;br /&gt;
&lt;br /&gt;
==Various==&lt;br /&gt;
=== Read one or more imags from a &amp;quot;.seq&amp;quot; file and write it to a regular file ===&lt;br /&gt;
  Is = seqIo( &#039;data-INRIA/videos/set00/V000.seq&#039;, &#039;toImgs&#039;, &#039;.&#039;,              1,                  0,               2,          &#039;png&#039; )&lt;br /&gt;
               input seq file                      command  dest directory    frames to skip      first frame   last frame     format&lt;br /&gt;
&lt;br /&gt;
=== Create seq file from a directory of images ===&lt;br /&gt;
&lt;br /&gt;
seq utility: help seqIo&amp;gt;frImags&lt;br /&gt;
&lt;br /&gt;
   info.codec=&#039;jpg&#039;; &lt;br /&gt;
   info.fps=5;&lt;br /&gt;
   info.quality = 100;&lt;br /&gt;
   info.width =640;&lt;br /&gt;
   info.height =480;&lt;br /&gt;
   seqIo(&#039;cam51.seq&#039;,&#039;frImgs&#039;, info,&#039;sDir&#039;,&#039;/home/athira/Desktop/HDA/data_labelling/toolbox/cam51&#039;, &#039;f0&#039;,0,&#039;f1&#039;,3660  )&lt;br /&gt;
          fname       command  info  varargin&lt;br /&gt;
Note: The code expects the extention of the image as &#039;.jpg&#039; and not &#039;.jpeg&#039;. So, in case if you want to use jpeg, alter the seqIo.m  in line 335.(frmStr)&lt;br /&gt;
&lt;br /&gt;
=== Adding a new dataset WIP ===&lt;br /&gt;
In order to add a new dataset to the system, you should first of all create one or more seq files.&lt;br /&gt;
So, create the root directory where this dataset will reside &#039;&#039;&#039;data-HDA&#039;&#039;&#039;, plus the three subdirectories &#039;&#039;&#039;data-HDA/videos&#039;&#039;&#039;, &#039;&#039;&#039;data-HDA/annotations&#039;&#039;&#039; and &#039;&#039;&#039;data-HDA/res&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Insert the entry relative to this dataset into the dbInfo.m script:&lt;br /&gt;
&lt;br /&gt;
  case &#039;hda&#039;&lt;br /&gt;
    setIds=0;      %ID&#039;s of sub datasets if there are some&lt;br /&gt;
    subdir=&#039;HDA&#039;;&lt;br /&gt;
    skip=1;        %number of frames used for subsampling during evaluation&lt;br /&gt;
    minHt=50;      %minimum labeled pedestrian height in dataset, not sure if this is used in the code somewhere or if it&#039;s just descriptive&lt;br /&gt;
    vidIds={0};    %video ID&#039;s inside each of the sub datasets&lt;br /&gt;
&lt;br /&gt;
To create a seq file staring from a video, you can use the [http://users.isr.ist.utl.pt/~mtaiana/code/createSeqFile.m createSeqFile.m] script. For some reason, the seq files created this way are not playable directly with &#039;&#039;&#039;vbbPlayer.m&#039;&#039;&#039;, but it can be labelled using &#039;&#039;&#039;vbbLabeler.m&#039;&#039;&#039;. You can download a short tutorial on how to use the labeller here: [http://users.isr.ist.utl.pt/~mtaiana/temp/LabellingDemo.mkv labelling demo].&lt;br /&gt;
&lt;br /&gt;
The classes for the bounding boxes are &#039;&#039;&#039;person&#039;&#039;&#039; for a single person, &#039;&#039;&#039;person?&#039;&#039;&#039; for something the labeler is not sure whether it is a person or not, &#039;&#039;&#039;people&#039;&#039;&#039; for groups of people for which it is impossible to label each person correctly. There is a label for persons who are partly occluded, it&#039;s not so clear how it works.&lt;br /&gt;
&lt;br /&gt;
=== Accessing the frames of a seq file ===&lt;br /&gt;
&lt;br /&gt;
  %Initialize the reader&lt;br /&gt;
  seqReader = seqIo( &#039;cam60.seq&#039;, &#039;reader&#039;);&lt;br /&gt;
  %Read one frame&lt;br /&gt;
  seqReader.seek(269);&lt;br /&gt;
  image = seqReader.getframe();&lt;br /&gt;
  imshow(image);&lt;br /&gt;
&lt;br /&gt;
=== Create new annotation (INRIA data set) ===&lt;br /&gt;
It seems impossible to do it with &#039;&#039;&#039;vbbLabeler.m&#039;: it complains about something, like the fact that the images are not all of the same size.&lt;br /&gt;
So we might do that using &#039;&#039;&#039;bblabeler.m&#039;&#039;&#039;, which saves the annotations in a different format (one file per image).&lt;br /&gt;
&lt;br /&gt;
  bbLabeler( [{&#039;person&#039;, &#039;people&#039;}], &#039;~/PhD/Datasets/INRIAPerson/Train/pos/&#039;, &#039;inriaNewLabels&#039;);&lt;br /&gt;
&lt;br /&gt;
The single annotation files are combined into one single vbb file by running:&lt;br /&gt;
&lt;br /&gt;
  [B] = vbb( &#039;vbbFrFiles&#039;, &#039;NewAnnotations&#039; )&lt;br /&gt;
  vbb(&#039;vbbSave&#039;, B, &#039;V000.vbb&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Transform all the images of a data set into a new version of it ===&lt;br /&gt;
Use the &amp;quot;convert&amp;quot; function on the seq file, applying imgFun(I) to each frame I:&lt;br /&gt;
    seqIo( fName, &#039;convert&#039;, tName, imgFun, varargin )&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5728</id>
		<title>DollarPedestrianDetectionCode</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5728"/>
		<updated>2014-05-08T17:38:15Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Piotr Dollár et. al. collected the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark], a set of data and code to evaluate pedestrian detection algorithms. The data base consists of sequences of annotated images acquired by a camera mounted on a car. The authors provide the data, some code that allow others to test their detector on that data and the results of many state-of-the-art detectors, both in a synthetic form (ROC curves), as well as in the extensive form (the actual detection bounding boxes for each image). The authors also provide other data sets and results converted to match their format.&lt;br /&gt;
&lt;br /&gt;
In order to have the system running you should download Piotr&#039;s Matlab Toolbox, the Evaluation/Labelling code and the data (image sequences, ground truth bounding boxes and detection results bounding boxes). You have link to these on the main page of the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark].&amp;lt;br&amp;gt;&lt;br /&gt;
For the code to work you need to have Matlab with the Image Toolbox installed.&lt;br /&gt;
&lt;br /&gt;
== Getting ready ==&lt;br /&gt;
You should unpack the Piotr&#039;s Matlab Toolbox somewhere and add it to the Matlab Path: &lt;br /&gt;
  addpath(genpath(&#039;/home/matteo/PMT/&#039;)); savepath;&lt;br /&gt;
&lt;br /&gt;
You should unpack the Evaluation/Labelling code in a directory that we will call $code (later, you should run Matlab from that directory).&lt;br /&gt;
&lt;br /&gt;
All the files (image data bases, annotations, detection results) should be put in some standard subdirectories of &#039;&#039;&#039;$code/&#039;&#039;&#039;.&lt;br /&gt;
You have to have one subdirectory for each db, for instance, you need one for INRIA: &#039;&#039;&#039;$code/data-INRIA/&#039;&#039;&#039;. The names are standard, they&#039;re defined in some matlab file.&amp;lt;br&amp;gt;&lt;br /&gt;
Inside the particular db directory, you need to have:&lt;br /&gt;
# the video subdirectory, &#039;&#039;&#039;$code/data-INRIA/videos&#039;&#039;&#039;, containing more subdirectories and the &amp;quot;.seq&amp;quot; files with the images&lt;br /&gt;
# the annotations subdirectory, &#039;&#039;&#039;$code/data-INRIA/annotations&#039;&#039;&#039;, containing more subdirectories and the ground truth annotations&lt;br /&gt;
# the res subdirectory, &#039;&#039;&#039;$code/data-INRIA/res&#039;&#039;&#039;, containing more subdirectories with the results of the detections obtained running various algorithms&lt;br /&gt;
&lt;br /&gt;
Annotations are in the format: (x0, y0, deltaX, deltaY, confidence). The confidence value is used to plot the ROC curves.&lt;br /&gt;
There is one annotation file for each image.&lt;br /&gt;
I don&#039;t know if the top-left corner is (0,0) or (1,1).&lt;br /&gt;
&lt;br /&gt;
== Operations you want to do ==&lt;br /&gt;
=== Set the db you&#039;re working on ===&lt;br /&gt;
  [pth,setIds,vidIds,skip,minHt] = dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
or simply:&lt;br /&gt;
  dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
&lt;br /&gt;
=== Show db images with annotations ===&lt;br /&gt;
vbbPlayer&lt;br /&gt;
&lt;br /&gt;
=== Compute the ROC curves for the specified algorithms, on the current db ===&lt;br /&gt;
dbEval&lt;br /&gt;
&lt;br /&gt;
=== Display images with GT annotations, the detections of a specific algorithm and their evaluation (true positive, false positive, etc.) ===&lt;br /&gt;
dbBrowser&lt;br /&gt;
&lt;br /&gt;
You should set some parameters in dbBrowser.m, such as which algorithm&#039;s results you want to plot and if you want to resize the detected bounding boxes. I am not sure when you want to resize the bounding boxes, if it depends on the algorithm you are testing or on the data base you are using.&lt;br /&gt;
  rPth=[pth &#039;/res/HOG&#039;];        % directory containing results&lt;br /&gt;
  thr=[];                       % detection threshold&lt;br /&gt;
  resize={100/128, 42/64, 0};   % controls resizing of detected bbs&lt;br /&gt;
&lt;br /&gt;
This file writes plots in $code/results and data in $code/eval.&lt;br /&gt;
&lt;br /&gt;
==How to evaluate the results of your algorithm==&lt;br /&gt;
&lt;br /&gt;
You should repeat, for all the images in a given set:&lt;br /&gt;
# read one image &lt;br /&gt;
# run your classifier on it&lt;br /&gt;
# write the annotations in your results directory, e.g. &#039;&#039;&#039;$code/data-INRIA/res/myDetector/set01/V000/I00000.txt&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here&#039;s an example:&lt;br /&gt;
  close all, clear;&lt;br /&gt;
  &lt;br /&gt;
  %Add the directories where Maji code is stored to the path&lt;br /&gt;
  addpath MajiCode/ped-demo-fast-8x8x1.1/&lt;br /&gt;
  addpath MajiCode/libsvm-mat-2.84-1-fast.v3/&lt;br /&gt;
  &lt;br /&gt;
  %Set parameters for Maji&#039;s code&lt;br /&gt;
      % non max supression (similar to hog-detector)&lt;br /&gt;
      nmax_param.sw = 0.1;&lt;br /&gt;
      nmax_param.sh = 0.1;&lt;br /&gt;
      nmax_param.ss = 1.3;&lt;br /&gt;
      nmax_param.th = 0.0;&lt;br /&gt;
  &lt;br /&gt;
      % detector is run at this scaleratio with a stride of 8x8&lt;br /&gt;
      scaleratio = 2^(1/8);&lt;br /&gt;
  &lt;br /&gt;
      % load precomputed models&lt;br /&gt;
      load approx_models;&lt;br /&gt;
      approx_model_hard = approx_models{2}; &lt;br /&gt;
      %two slightly different models (#training) &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  %Open the image sequence file (INRIA test set)&lt;br /&gt;
  seqReader = seqIo( &#039;data-INRIA/videos/set01/V000.seq&#039;, &#039;reader&#039;); %The pointer initially points to image -1, after the first sequReader.next() it points to image 1&lt;br /&gt;
  outputDirectory = &#039;data-INRIA/res/MatteoMaji/set01/V000/&#039;; %Set where to write the results&lt;br /&gt;
  info = seqReader.getinfo();&lt;br /&gt;
  nImages = info.numFrames;&lt;br /&gt;
  &lt;br /&gt;
  %Run the detector on each image, store bounding boxes results (and images?)&lt;br /&gt;
  for (imageNumber = 1 : nImages)&lt;br /&gt;
    seqReader.next();                          %Move pointer to the next image&lt;br /&gt;
    [image, timeStamp] = seqReader.getframe(); %Get current image&lt;br /&gt;
    [dr,ds] = run_detectorForDollar(image,approx_model_hard,scaleratio,nmax_param, outputDirectory, imageNumber-1); %Detect pedestrians (imageNumber is -1 because file numbers start from 0!)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Once you have you detections, you can evaluate them with &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, I had to change some parameters like this:&lt;br /&gt;
  dataNames={&#039;InriaTest&#039;};  %Evaluate algorithms on INRIA test&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case &#039;InriaTest&#039;&lt;br /&gt;
      aIds=[7 15]; bnds=[]; %Evaluate only HIKSVM and my algorithm&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case 15,    alg=def(&#039;MatteoMaji&#039;,1,id); %Define the name and directory for my algorithm&lt;br /&gt;
  %I&#039;m not quite sure what the 1 means&lt;br /&gt;
&lt;br /&gt;
After running &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, you can run &#039;&#039;&#039;dbBrowser.m&#039;&#039;&#039; and compare your detection bounding boxes with the ground truth ones, inspect whether or not the evaluation software considers a detection as successful, etc.&lt;br /&gt;
&lt;br /&gt;
You can change some parameters in &#039;&#039;&#039;dbEval.m&#039;&#039;&#039; so that it creates albums showing the mistakes a specific algorithm makes.&lt;br /&gt;
(Be careful to select only one algorithm to evaluate, otherwise you will create at least tens of albums!)&lt;br /&gt;
&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fp&#039; ); %The third parameter tells the system how many pages of false positives to save at most&lt;br /&gt;
  plotBb( res, rDir, 0, &#039;tp&#039; );  %If you want to save true positives&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fn&#039; ); %The third parameter tells the system how many pages of false negatives to save at most&lt;br /&gt;
&lt;br /&gt;
==Various==&lt;br /&gt;
=== Read one or more imags from a &amp;quot;.seq&amp;quot; file and write it to a regular file ===&lt;br /&gt;
  Is = seqIo( &#039;data-INRIA/videos/set00/V000.seq&#039;, &#039;toImgs&#039;, &#039;.&#039;,              1,                  0,               2,          &#039;png&#039; )&lt;br /&gt;
               input seq file                      command  dest directory    frames to skip      first frame   last frame     format&lt;br /&gt;
&lt;br /&gt;
=== Create seq file from a directory of images ===&lt;br /&gt;
&lt;br /&gt;
seq utility: help seqIo&amp;gt;frImags&lt;br /&gt;
&lt;br /&gt;
   info.codec=&#039;jpg&#039;; &lt;br /&gt;
   info.fps=5;&lt;br /&gt;
   info.quality = 100;&lt;br /&gt;
   info.width =640;&lt;br /&gt;
   info.height =480;&lt;br /&gt;
   seqIo(&#039;cam51.seq&#039;,&#039;frImgs&#039;, info,&#039;sDir&#039;,&#039;/home/athira/Desktop/HDA/data_labelling/toolbox/cam51&#039;, &#039;f0&#039;,0,&#039;f1&#039;,3660  )&lt;br /&gt;
          fname       command  info  varargin&lt;br /&gt;
Note: The code expects the extention of the image as &#039;.jpg&#039; and not &#039;.jpeg&#039;. So, in case if you want to use jpeg, alter the seqIo.m  in line 335.(frmStr)&lt;br /&gt;
&lt;br /&gt;
=== Adding a new dataset WIP ===&lt;br /&gt;
In order to add a new dataset to the system, you should first of all create one or more seq files.&lt;br /&gt;
So, create the root directory where this dataset will reside &#039;&#039;&#039;data-HDA&#039;&#039;&#039;, plus the three subdirectories &#039;&#039;&#039;data-HDA/videos&#039;&#039;&#039;, &#039;&#039;&#039;data-HDA/annotations&#039;&#039;&#039; and &#039;&#039;&#039;data-HDA/res&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Insert the entry relative to this dataset into the dbInfo.m script:&lt;br /&gt;
&lt;br /&gt;
  case &#039;hda&#039;&lt;br /&gt;
    setIds=0;      %ID&#039;s of sub datasets if there are some&lt;br /&gt;
    subdir=&#039;HDA&#039;;&lt;br /&gt;
    skip=1;        %number of frames used for subsampling during evaluation&lt;br /&gt;
    minHt=50;      %minimum labeled pedestrian height in dataset, not sure if this is used in the code somewhere or if it&#039;s just descriptive&lt;br /&gt;
    vidIds={0};    %video ID&#039;s inside each of the sub datasets&lt;br /&gt;
&lt;br /&gt;
To create a seq file staring from a video, you can use the [http://users.isr.ist.utl.pt/~mtaiana/code/createSeqFile.m createSeqFile.m] script. For some reason, the seq files created this way are not playable directly with &#039;&#039;&#039;vbbPlayer.m&#039;&#039;&#039;, but it can be labelled using &#039;&#039;&#039;vbbLabeler.m&#039;&#039;&#039;. You can download a short tutorial on how to use the labeller here: [http://users.isr.ist.utl.pt/~mtaiana/temp/LabellingDemo.mkv labelling demo].&lt;br /&gt;
&lt;br /&gt;
The classes for the bounding boxes are &#039;&#039;&#039;person&#039;&#039;&#039; for a single person, &#039;&#039;&#039;person?&#039;&#039;&#039; for something the labeler is not sure whether it is a person or not, &#039;&#039;&#039;people&#039;&#039;&#039; for groups of people for which it is impossible to label each person correctly. There is a label for persons who are partly occluded, it&#039;s not so clear how it works.&lt;br /&gt;
&lt;br /&gt;
=== Accessing the frames of a seq file ===&lt;br /&gt;
&lt;br /&gt;
  %Initialize the reader&lt;br /&gt;
  seqReader = seqIo( &#039;cam60.seq&#039;, &#039;reader&#039;);&lt;br /&gt;
  %Read one frame&lt;br /&gt;
  seqReader.seek(269);&lt;br /&gt;
  image = seqReader.getframe();&lt;br /&gt;
  imshow(image);&lt;br /&gt;
&lt;br /&gt;
=== Create new annotation (INRIA data set) ===&lt;br /&gt;
It seems impossible to do it with &#039;&#039;&#039;vbbLabeler.m&#039;: it complains about something, like the fact that the images are not all of the same size.&lt;br /&gt;
So we might do that using &#039;&#039;&#039;bblabeler.m&#039;&#039;&#039;, which saves the annotations in a different format (one file per image).&lt;br /&gt;
&lt;br /&gt;
  bbLabeler( [{&#039;person&#039;, &#039;people&#039;}], &#039;~/PhD/Datasets/INRIAPerson/Train/pos/&#039;, &#039;inriaNewLabels&#039;);&lt;br /&gt;
&lt;br /&gt;
The single annotation files are combined into one single vbb file by running:&lt;br /&gt;
&lt;br /&gt;
  [B] = vbb( &#039;vbbFrFiles&#039;, &#039;NewAnnotations&#039; )&lt;br /&gt;
  vbb(&#039;vbbSave&#039;, B, &#039;V000.vbb&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Transform all the images of a data set into a new version of it ===&lt;br /&gt;
Use the &amp;quot;convert&amp;quot; function on the seq file, applying imgFun(I) to each frame I:&lt;br /&gt;
    seqIo( fName, &#039;convert&#039;, tName, imgFun, varargin )&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5718</id>
		<title>DollarPedestrianDetectionCode</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5718"/>
		<updated>2014-04-07T18:50:25Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Create new annotation (INRIA data set) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Piotr Dollár et. al. collected the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark], a set of data and code to evaluate pedestrian detection algorithms. The data base consists of sequences of annotated images acquired by a camera mounted on a car. The authors provide the data, some code that allow others to test their detector on that data and the results of many state-of-the-art detectors, both in a synthetic form (ROC curves), as well as in the extensive form (the actual detection bounding boxes for each image). The authors also provide other data sets and results converted to match their format.&lt;br /&gt;
&lt;br /&gt;
In order to have the system running you should download Piotr&#039;s Matlab Toolbox, the Evaluation/Labelling code and the data (image sequences, ground truth bounding boxes and detection results bounding boxes). You have link to these on the main page of the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark].&amp;lt;br&amp;gt;&lt;br /&gt;
For the code to work you need to have Matlab with the Image Toolbox installed.&lt;br /&gt;
&lt;br /&gt;
== Getting ready ==&lt;br /&gt;
You should unpack the Piotr&#039;s Matlab Toolbox somewhere and add it to the Matlab Path: &lt;br /&gt;
  addpath(genpath(&#039;/home/matteo/PMT/&#039;)); savepath;&lt;br /&gt;
&lt;br /&gt;
You should unpack the Evaluation/Labelling code in a directory that we will call $code (later, you should run Matlab from that directory).&lt;br /&gt;
&lt;br /&gt;
All the files (image data bases, annotations, detection results) should be put in some standard subdirectories of &#039;&#039;&#039;$code/&#039;&#039;&#039;.&lt;br /&gt;
You have to have one subdirectory for each db, for instance, you need one for INRIA: &#039;&#039;&#039;$code/data-INRIA/&#039;&#039;&#039;. The names are standard, they&#039;re defined in some matlab file.&amp;lt;br&amp;gt;&lt;br /&gt;
Inside the particular db directory, you need to have:&lt;br /&gt;
# the video subdirectory, &#039;&#039;&#039;$code/data-INRIA/videos&#039;&#039;&#039;, containing more subdirectories and the &amp;quot;.seq&amp;quot; files with the images&lt;br /&gt;
# the annotations subdirectory, &#039;&#039;&#039;$code/data-INRIA/annotations&#039;&#039;&#039;, containing more subdirectories and the ground truth annotations&lt;br /&gt;
# the res subdirectory, &#039;&#039;&#039;$code/data-INRIA/res&#039;&#039;&#039;, containing more subdirectories with the results of the detections obtained running various algorithms&lt;br /&gt;
&lt;br /&gt;
Annotations are in the format: (x0, y0, deltaX, deltaY, confidence). The confidence value is used to plot the ROC curves.&lt;br /&gt;
There is one annotation file for each image.&lt;br /&gt;
I don&#039;t know if the top-left corner is (0,0) or (1,1).&lt;br /&gt;
&lt;br /&gt;
== Operations you want to do ==&lt;br /&gt;
=== Set the db you&#039;re working on ===&lt;br /&gt;
  [pth,setIds,vidIds,skip,minHt] = dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
or simply:&lt;br /&gt;
  dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
&lt;br /&gt;
=== Show db images with annotations ===&lt;br /&gt;
vbbPlayer&lt;br /&gt;
&lt;br /&gt;
=== Compute the ROC curves for the specified algorithms, on the current db ===&lt;br /&gt;
dbEval&lt;br /&gt;
&lt;br /&gt;
=== Display images with GT annotations, the detections of a specific algorithm and their evaluation (true positive, false positive, etc.) ===&lt;br /&gt;
dbBrowser&lt;br /&gt;
&lt;br /&gt;
You should set some parameters in dbBrowser.m, such as which algorithm&#039;s results you want to plot and if you want to resize the detected bounding boxes. I am not sure when you want to resize the bounding boxes, if it depends on the algorithm you are testing or on the data base you are using.&lt;br /&gt;
  rPth=[pth &#039;/res/HOG&#039;];        % directory containing results&lt;br /&gt;
  thr=[];                       % detection threshold&lt;br /&gt;
  resize={100/128, 42/64, 0};   % controls resizing of detected bbs&lt;br /&gt;
&lt;br /&gt;
This file writes plots in $code/results and data in $code/eval.&lt;br /&gt;
&lt;br /&gt;
==How to evaluate the results of your algorithm==&lt;br /&gt;
&lt;br /&gt;
You should repeat, for all the images in a given set:&lt;br /&gt;
# read one image &lt;br /&gt;
# run your classifier on it&lt;br /&gt;
# write the annotations in your results directory, e.g. &#039;&#039;&#039;$code/data-INRIA/res/myDetector/set01/V000/I00000.txt&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here&#039;s an example:&lt;br /&gt;
  close all, clear;&lt;br /&gt;
  &lt;br /&gt;
  %Add the directories where Maji code is stored to the path&lt;br /&gt;
  addpath MajiCode/ped-demo-fast-8x8x1.1/&lt;br /&gt;
  addpath MajiCode/libsvm-mat-2.84-1-fast.v3/&lt;br /&gt;
  &lt;br /&gt;
  %Set parameters for Maji&#039;s code&lt;br /&gt;
      % non max supression (similar to hog-detector)&lt;br /&gt;
      nmax_param.sw = 0.1;&lt;br /&gt;
      nmax_param.sh = 0.1;&lt;br /&gt;
      nmax_param.ss = 1.3;&lt;br /&gt;
      nmax_param.th = 0.0;&lt;br /&gt;
  &lt;br /&gt;
      % detector is run at this scaleratio with a stride of 8x8&lt;br /&gt;
      scaleratio = 2^(1/8);&lt;br /&gt;
  &lt;br /&gt;
      % load precomputed models&lt;br /&gt;
      load approx_models;&lt;br /&gt;
      approx_model_hard = approx_models{2}; &lt;br /&gt;
      %two slightly different models (#training) &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  %Open the image sequence file (INRIA test set)&lt;br /&gt;
  seqReader = seqIo( &#039;data-INRIA/videos/set01/V000.seq&#039;, &#039;reader&#039;); %The pointer initially points to image -1, after the first sequReader.next() it points to image 1&lt;br /&gt;
  outputDirectory = &#039;data-INRIA/res/MatteoMaji/set01/V000/&#039;; %Set where to write the results&lt;br /&gt;
  info = seqReader.getinfo();&lt;br /&gt;
  nImages = info.numFrames;&lt;br /&gt;
  &lt;br /&gt;
  %Run the detector on each image, store bounding boxes results (and images?)&lt;br /&gt;
  for (imageNumber = 1 : nImages)&lt;br /&gt;
    seqReader.next();                          %Move pointer to the next image&lt;br /&gt;
    [image, timeStamp] = seqReader.getframe(); %Get current image&lt;br /&gt;
    [dr,ds] = run_detectorForDollar(image,approx_model_hard,scaleratio,nmax_param, outputDirectory, imageNumber-1); %Detect pedestrians (imageNumber is -1 because file numbers start from 0!)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Once you have you detections, you can evaluate them with &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, I had to change some parameters like this:&lt;br /&gt;
  dataNames={&#039;InriaTest&#039;};  %Evaluate algorithms on INRIA test&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case &#039;InriaTest&#039;&lt;br /&gt;
      aIds=[7 15]; bnds=[]; %Evaluate only HIKSVM and my algorithm&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case 15,    alg=def(&#039;MatteoMaji&#039;,1,id); %Define the name and directory for my algorithm&lt;br /&gt;
  %I&#039;m not quite sure what the 1 means&lt;br /&gt;
&lt;br /&gt;
After running &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, you can run &#039;&#039;&#039;dbBrowser.m&#039;&#039;&#039; and compare your detection bounding boxes with the ground truth ones, inspect whether or not the evaluation software considers a detection as successful, etc.&lt;br /&gt;
&lt;br /&gt;
You can change some parameters in &#039;&#039;&#039;dbEval.m&#039;&#039;&#039; so that it creates albums showing the mistakes a specific algorithm makes.&lt;br /&gt;
(Be careful to select only one algorithm to evaluate, otherwise you will create at least tens of albums!)&lt;br /&gt;
&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fp&#039; ); %The third parameter tells the system how many pages of fals positives to save at most&lt;br /&gt;
  plotBb( res, rDir, 0, &#039;tp&#039; );  %If you want to save true positives&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fn&#039; ); %The third parameter tells the system how many pages of fals negatives to save at most&lt;br /&gt;
&lt;br /&gt;
==Various==&lt;br /&gt;
=== Read one or more imags from a &amp;quot;.seq&amp;quot; file and write it to a regular file ===&lt;br /&gt;
  Is = seqIo( &#039;data-INRIA/videos/set00/V000.seq&#039;, &#039;toImgs&#039;, &#039;.&#039;,              1,                  0,               2,          &#039;png&#039; )&lt;br /&gt;
               input seq file                      command  dest directory    frames to skip      first frame   last frame     format&lt;br /&gt;
&lt;br /&gt;
=== Create seq file from a directory of images ===&lt;br /&gt;
&lt;br /&gt;
seq utility: help seqIo&amp;gt;frImags&lt;br /&gt;
&lt;br /&gt;
   info.codec=&#039;jpg&#039;; &lt;br /&gt;
   info.fps=5;&lt;br /&gt;
   info.quality = 100;&lt;br /&gt;
   info.width =640;&lt;br /&gt;
   info.height =480;&lt;br /&gt;
   seqIo(&#039;cam51.seq&#039;,&#039;frImgs&#039;, info,&#039;sDir&#039;,&#039;/home/athira/Desktop/HDA/data_labelling/toolbox/cam51&#039;, &#039;f0&#039;,0,&#039;f1&#039;,3660  )&lt;br /&gt;
          fname       command  info  varargin&lt;br /&gt;
Note: The code expects the extention of the image as &#039;.jpg&#039; and not &#039;.jpeg&#039;. So, in case if you want to use jpeg, alter the seqIo.m  in line 335.(frmStr)&lt;br /&gt;
&lt;br /&gt;
=== Adding a new dataset WIP ===&lt;br /&gt;
In order to add a new dataset to the system, you should first of all create one or more seq files.&lt;br /&gt;
So, create the root directory where this dataset will reside &#039;&#039;&#039;data-HDA&#039;&#039;&#039;, plus the three subdirectories &#039;&#039;&#039;data-HDA/videos&#039;&#039;&#039;, &#039;&#039;&#039;data-HDA/annotations&#039;&#039;&#039; and &#039;&#039;&#039;data-HDA/res&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Insert the entry relative to this dataset into the dbInfo.m script:&lt;br /&gt;
&lt;br /&gt;
  case &#039;hda&#039;&lt;br /&gt;
    setIds=0;      %ID&#039;s of sub datasets if there are some&lt;br /&gt;
    subdir=&#039;HDA&#039;;&lt;br /&gt;
    skip=1;        %number of frames used for subsampling during evaluation&lt;br /&gt;
    minHt=50;      %minimum labeled pedestrian height in dataset, not sure if this is used in the code somewhere or if it&#039;s just descriptive&lt;br /&gt;
    vidIds={0};    %video ID&#039;s inside each of the sub datasets&lt;br /&gt;
&lt;br /&gt;
To create a seq file staring from a video, you can use the [http://users.isr.ist.utl.pt/~mtaiana/code/createSeqFile.m createSeqFile.m] script. For some reason, the seq files created this way are not playable directly with &#039;&#039;&#039;vbbPlayer.m&#039;&#039;&#039;, but it can be labelled using &#039;&#039;&#039;vbbLabeler.m&#039;&#039;&#039;. You can download a short tutorial on how to use the labeller here: [http://users.isr.ist.utl.pt/~mtaiana/temp/LabellingDemo.mkv labelling demo].&lt;br /&gt;
&lt;br /&gt;
The classes for the bounding boxes are &#039;&#039;&#039;person&#039;&#039;&#039; for a single person, &#039;&#039;&#039;person?&#039;&#039;&#039; for something the labeler is not sure whether it is a person or not, &#039;&#039;&#039;people&#039;&#039;&#039; for groups of people for which it is impossible to label each person correctly. There is a label for persons who are partly occluded, it&#039;s not so clear how it works.&lt;br /&gt;
&lt;br /&gt;
=== Accessing the frames of a seq file ===&lt;br /&gt;
&lt;br /&gt;
  %Initialize the reader&lt;br /&gt;
  seqReader = seqIo( &#039;cam60.seq&#039;, &#039;reader&#039;);&lt;br /&gt;
  %Read one frame&lt;br /&gt;
  seqReader.seek(269);&lt;br /&gt;
  image = seqReader.getframe();&lt;br /&gt;
  imshow(image);&lt;br /&gt;
&lt;br /&gt;
=== Create new annotation (INRIA data set) ===&lt;br /&gt;
It seems impossible to do it with &#039;&#039;&#039;vbbLabeler.m&#039;: it complains about something, like the fact that the images are not all of the same size.&lt;br /&gt;
So we might do that using &#039;&#039;&#039;bblabeler.m&#039;&#039;&#039;, which saves the annotations in a different format (one file per image).&lt;br /&gt;
&lt;br /&gt;
  bbLabeler( [{&#039;person&#039;, &#039;people&#039;}], &#039;~/PhD/Datasets/INRIAPerson/Train/pos/&#039;, &#039;inriaNewLabels&#039;);&lt;br /&gt;
&lt;br /&gt;
The single annotation files are combined into one single vbb file by running:&lt;br /&gt;
&lt;br /&gt;
  [B] = vbb( &#039;vbbFrFiles&#039;, &#039;NewAnnotations&#039; )&lt;br /&gt;
  vbb(&#039;vbbSave&#039;, B, &#039;V000.vbb&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Transform all the images of a data set into a new version of it ===&lt;br /&gt;
Use the &amp;quot;convert&amp;quot; function on the seq file, applying imgFun(I) to each frame I:&lt;br /&gt;
    seqIo( fName, &#039;convert&#039;, tName, imgFun, varargin )&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5717</id>
		<title>DollarPedestrianDetectionCode</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5717"/>
		<updated>2014-04-07T18:16:59Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Annotating the INRIA data set again */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Piotr Dollár et. al. collected the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark], a set of data and code to evaluate pedestrian detection algorithms. The data base consists of sequences of annotated images acquired by a camera mounted on a car. The authors provide the data, some code that allow others to test their detector on that data and the results of many state-of-the-art detectors, both in a synthetic form (ROC curves), as well as in the extensive form (the actual detection bounding boxes for each image). The authors also provide other data sets and results converted to match their format.&lt;br /&gt;
&lt;br /&gt;
In order to have the system running you should download Piotr&#039;s Matlab Toolbox, the Evaluation/Labelling code and the data (image sequences, ground truth bounding boxes and detection results bounding boxes). You have link to these on the main page of the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark].&amp;lt;br&amp;gt;&lt;br /&gt;
For the code to work you need to have Matlab with the Image Toolbox installed.&lt;br /&gt;
&lt;br /&gt;
== Getting ready ==&lt;br /&gt;
You should unpack the Piotr&#039;s Matlab Toolbox somewhere and add it to the Matlab Path: &lt;br /&gt;
  addpath(genpath(&#039;/home/matteo/PMT/&#039;)); savepath;&lt;br /&gt;
&lt;br /&gt;
You should unpack the Evaluation/Labelling code in a directory that we will call $code (later, you should run Matlab from that directory).&lt;br /&gt;
&lt;br /&gt;
All the files (image data bases, annotations, detection results) should be put in some standard subdirectories of &#039;&#039;&#039;$code/&#039;&#039;&#039;.&lt;br /&gt;
You have to have one subdirectory for each db, for instance, you need one for INRIA: &#039;&#039;&#039;$code/data-INRIA/&#039;&#039;&#039;. The names are standard, they&#039;re defined in some matlab file.&amp;lt;br&amp;gt;&lt;br /&gt;
Inside the particular db directory, you need to have:&lt;br /&gt;
# the video subdirectory, &#039;&#039;&#039;$code/data-INRIA/videos&#039;&#039;&#039;, containing more subdirectories and the &amp;quot;.seq&amp;quot; files with the images&lt;br /&gt;
# the annotations subdirectory, &#039;&#039;&#039;$code/data-INRIA/annotations&#039;&#039;&#039;, containing more subdirectories and the ground truth annotations&lt;br /&gt;
# the res subdirectory, &#039;&#039;&#039;$code/data-INRIA/res&#039;&#039;&#039;, containing more subdirectories with the results of the detections obtained running various algorithms&lt;br /&gt;
&lt;br /&gt;
Annotations are in the format: (x0, y0, deltaX, deltaY, confidence). The confidence value is used to plot the ROC curves.&lt;br /&gt;
There is one annotation file for each image.&lt;br /&gt;
I don&#039;t know if the top-left corner is (0,0) or (1,1).&lt;br /&gt;
&lt;br /&gt;
== Operations you want to do ==&lt;br /&gt;
=== Set the db you&#039;re working on ===&lt;br /&gt;
  [pth,setIds,vidIds,skip,minHt] = dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
or simply:&lt;br /&gt;
  dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
&lt;br /&gt;
=== Show db images with annotations ===&lt;br /&gt;
vbbPlayer&lt;br /&gt;
&lt;br /&gt;
=== Compute the ROC curves for the specified algorithms, on the current db ===&lt;br /&gt;
dbEval&lt;br /&gt;
&lt;br /&gt;
=== Display images with GT annotations, the detections of a specific algorithm and their evaluation (true positive, false positive, etc.) ===&lt;br /&gt;
dbBrowser&lt;br /&gt;
&lt;br /&gt;
You should set some parameters in dbBrowser.m, such as which algorithm&#039;s results you want to plot and if you want to resize the detected bounding boxes. I am not sure when you want to resize the bounding boxes, if it depends on the algorithm you are testing or on the data base you are using.&lt;br /&gt;
  rPth=[pth &#039;/res/HOG&#039;];        % directory containing results&lt;br /&gt;
  thr=[];                       % detection threshold&lt;br /&gt;
  resize={100/128, 42/64, 0};   % controls resizing of detected bbs&lt;br /&gt;
&lt;br /&gt;
This file writes plots in $code/results and data in $code/eval.&lt;br /&gt;
&lt;br /&gt;
==How to evaluate the results of your algorithm==&lt;br /&gt;
&lt;br /&gt;
You should repeat, for all the images in a given set:&lt;br /&gt;
# read one image &lt;br /&gt;
# run your classifier on it&lt;br /&gt;
# write the annotations in your results directory, e.g. &#039;&#039;&#039;$code/data-INRIA/res/myDetector/set01/V000/I00000.txt&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here&#039;s an example:&lt;br /&gt;
  close all, clear;&lt;br /&gt;
  &lt;br /&gt;
  %Add the directories where Maji code is stored to the path&lt;br /&gt;
  addpath MajiCode/ped-demo-fast-8x8x1.1/&lt;br /&gt;
  addpath MajiCode/libsvm-mat-2.84-1-fast.v3/&lt;br /&gt;
  &lt;br /&gt;
  %Set parameters for Maji&#039;s code&lt;br /&gt;
      % non max supression (similar to hog-detector)&lt;br /&gt;
      nmax_param.sw = 0.1;&lt;br /&gt;
      nmax_param.sh = 0.1;&lt;br /&gt;
      nmax_param.ss = 1.3;&lt;br /&gt;
      nmax_param.th = 0.0;&lt;br /&gt;
  &lt;br /&gt;
      % detector is run at this scaleratio with a stride of 8x8&lt;br /&gt;
      scaleratio = 2^(1/8);&lt;br /&gt;
  &lt;br /&gt;
      % load precomputed models&lt;br /&gt;
      load approx_models;&lt;br /&gt;
      approx_model_hard = approx_models{2}; &lt;br /&gt;
      %two slightly different models (#training) &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  %Open the image sequence file (INRIA test set)&lt;br /&gt;
  seqReader = seqIo( &#039;data-INRIA/videos/set01/V000.seq&#039;, &#039;reader&#039;); %The pointer initially points to image -1, after the first sequReader.next() it points to image 1&lt;br /&gt;
  outputDirectory = &#039;data-INRIA/res/MatteoMaji/set01/V000/&#039;; %Set where to write the results&lt;br /&gt;
  info = seqReader.getinfo();&lt;br /&gt;
  nImages = info.numFrames;&lt;br /&gt;
  &lt;br /&gt;
  %Run the detector on each image, store bounding boxes results (and images?)&lt;br /&gt;
  for (imageNumber = 1 : nImages)&lt;br /&gt;
    seqReader.next();                          %Move pointer to the next image&lt;br /&gt;
    [image, timeStamp] = seqReader.getframe(); %Get current image&lt;br /&gt;
    [dr,ds] = run_detectorForDollar(image,approx_model_hard,scaleratio,nmax_param, outputDirectory, imageNumber-1); %Detect pedestrians (imageNumber is -1 because file numbers start from 0!)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Once you have you detections, you can evaluate them with &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, I had to change some parameters like this:&lt;br /&gt;
  dataNames={&#039;InriaTest&#039;};  %Evaluate algorithms on INRIA test&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case &#039;InriaTest&#039;&lt;br /&gt;
      aIds=[7 15]; bnds=[]; %Evaluate only HIKSVM and my algorithm&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case 15,    alg=def(&#039;MatteoMaji&#039;,1,id); %Define the name and directory for my algorithm&lt;br /&gt;
  %I&#039;m not quite sure what the 1 means&lt;br /&gt;
&lt;br /&gt;
After running &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, you can run &#039;&#039;&#039;dbBrowser.m&#039;&#039;&#039; and compare your detection bounding boxes with the ground truth ones, inspect whether or not the evaluation software considers a detection as successful, etc.&lt;br /&gt;
&lt;br /&gt;
You can change some parameters in &#039;&#039;&#039;dbEval.m&#039;&#039;&#039; so that it creates albums showing the mistakes a specific algorithm makes.&lt;br /&gt;
(Be careful to select only one algorithm to evaluate, otherwise you will create at least tens of albums!)&lt;br /&gt;
&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fp&#039; ); %The third parameter tells the system how many pages of fals positives to save at most&lt;br /&gt;
  plotBb( res, rDir, 0, &#039;tp&#039; );  %If you want to save true positives&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fn&#039; ); %The third parameter tells the system how many pages of fals negatives to save at most&lt;br /&gt;
&lt;br /&gt;
==Various==&lt;br /&gt;
=== Read one or more imags from a &amp;quot;.seq&amp;quot; file and write it to a regular file ===&lt;br /&gt;
  Is = seqIo( &#039;data-INRIA/videos/set00/V000.seq&#039;, &#039;toImgs&#039;, &#039;.&#039;,              1,                  0,               2,          &#039;png&#039; )&lt;br /&gt;
               input seq file                      command  dest directory    frames to skip      first frame   last frame     format&lt;br /&gt;
&lt;br /&gt;
=== Create seq file from a directory of images ===&lt;br /&gt;
&lt;br /&gt;
seq utility: help seqIo&amp;gt;frImags&lt;br /&gt;
&lt;br /&gt;
   info.codec=&#039;jpg&#039;; &lt;br /&gt;
   info.fps=5;&lt;br /&gt;
   info.quality = 100;&lt;br /&gt;
   info.width =640;&lt;br /&gt;
   info.height =480;&lt;br /&gt;
   seqIo(&#039;cam51.seq&#039;,&#039;frImgs&#039;, info,&#039;sDir&#039;,&#039;/home/athira/Desktop/HDA/data_labelling/toolbox/cam51&#039;, &#039;f0&#039;,0,&#039;f1&#039;,3660  )&lt;br /&gt;
          fname       command  info  varargin&lt;br /&gt;
Note: The code expects the extention of the image as &#039;.jpg&#039; and not &#039;.jpeg&#039;. So, in case if you want to use jpeg, alter the seqIo.m  in line 335.(frmStr)&lt;br /&gt;
&lt;br /&gt;
=== Adding a new dataset WIP ===&lt;br /&gt;
In order to add a new dataset to the system, you should first of all create one or more seq files.&lt;br /&gt;
So, create the root directory where this dataset will reside &#039;&#039;&#039;data-HDA&#039;&#039;&#039;, plus the three subdirectories &#039;&#039;&#039;data-HDA/videos&#039;&#039;&#039;, &#039;&#039;&#039;data-HDA/annotations&#039;&#039;&#039; and &#039;&#039;&#039;data-HDA/res&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Insert the entry relative to this dataset into the dbInfo.m script:&lt;br /&gt;
&lt;br /&gt;
  case &#039;hda&#039;&lt;br /&gt;
    setIds=0;      %ID&#039;s of sub datasets if there are some&lt;br /&gt;
    subdir=&#039;HDA&#039;;&lt;br /&gt;
    skip=1;        %number of frames used for subsampling during evaluation&lt;br /&gt;
    minHt=50;      %minimum labeled pedestrian height in dataset, not sure if this is used in the code somewhere or if it&#039;s just descriptive&lt;br /&gt;
    vidIds={0};    %video ID&#039;s inside each of the sub datasets&lt;br /&gt;
&lt;br /&gt;
To create a seq file staring from a video, you can use the [http://users.isr.ist.utl.pt/~mtaiana/code/createSeqFile.m createSeqFile.m] script. For some reason, the seq files created this way are not playable directly with &#039;&#039;&#039;vbbPlayer.m&#039;&#039;&#039;, but it can be labelled using &#039;&#039;&#039;vbbLabeler.m&#039;&#039;&#039;. You can download a short tutorial on how to use the labeller here: [http://users.isr.ist.utl.pt/~mtaiana/temp/LabellingDemo.mkv labelling demo].&lt;br /&gt;
&lt;br /&gt;
The classes for the bounding boxes are &#039;&#039;&#039;person&#039;&#039;&#039; for a single person, &#039;&#039;&#039;person?&#039;&#039;&#039; for something the labeler is not sure whether it is a person or not, &#039;&#039;&#039;people&#039;&#039;&#039; for groups of people for which it is impossible to label each person correctly. There is a label for persons who are partly occluded, it&#039;s not so clear how it works.&lt;br /&gt;
&lt;br /&gt;
=== Accessing the frames of a seq file ===&lt;br /&gt;
&lt;br /&gt;
  %Initialize the reader&lt;br /&gt;
  seqReader = seqIo( &#039;cam60.seq&#039;, &#039;reader&#039;);&lt;br /&gt;
  %Read one frame&lt;br /&gt;
  seqReader.seek(269);&lt;br /&gt;
  image = seqReader.getframe();&lt;br /&gt;
  imshow(image);&lt;br /&gt;
&lt;br /&gt;
=== Create new annotation (INRIA data set) ===&lt;br /&gt;
It seems impossible to do it with &#039;&#039;&#039;vbbLabeler.m&#039;: it complains about something, like the fact that the images are not all of the same size.&lt;br /&gt;
So we might do that using &#039;&#039;&#039;bblabeler.m&#039;&#039;&#039;, which saves the annotations in a different format (one file per image) , but should be useful anyway.&lt;br /&gt;
I think it&#039;s possible to then read all the labels via vbbload and write them as one vbb file.&lt;br /&gt;
&lt;br /&gt;
  bbLabeler( [{&#039;person&#039;, &#039;people&#039;}], &#039;~/PhD/Datasets/INRIAPerson/Train/pos/&#039;, &#039;inriaNewLabels&#039;);&lt;br /&gt;
&lt;br /&gt;
=== Transform all the images of a data set into a new version of it ===&lt;br /&gt;
Use the &amp;quot;convert&amp;quot; function on the seq file, applying imgFun(I) to each frame I:&lt;br /&gt;
    seqIo( fName, &#039;convert&#039;, tName, imgFun, varargin )&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5683</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5683"/>
		<updated>2014-03-24T20:10:06Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
* Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick greatly reduced. It is possible that the broken board was contributing to the known USB problems by jamming the USB system. &amp;lt;br&amp;gt;&lt;br /&gt;
The board was substituted on Mar. 24 2014 and is now working smoothly. While we were at it, we also fixed the lower eyelid which was loose.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|300px]] Click on the image to see the high resolution version.&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) or parts of the system for 10..20 seconds. The problem was worse when we had the old faulty facial expression board connected to the system, but persists now with the new board and persists even (possibly to a lesser extent), when such board is not connected to the system.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It was common to get this USB-related error at boot time, after changing the facial expression board for the new one and using different USB cables/connection on PC104, the error doesn&#039;t appear any more: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting address 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting address 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB pen drive test====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==Improvements since previous bootable image==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write cache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5682</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5682"/>
		<updated>2014-03-24T20:05:59Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Demos */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
* Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick greatly reduced. It is possible that the broken board was contributing to the known USB problems by jamming the USB system. &amp;lt;br&amp;gt;&lt;br /&gt;
The board was substituted on Mar. 24 2014 and is now working smoothly. While we were at it, we also fixed the lower eyelid which was loose.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|300px]] Click on the image to see the high resolution version.&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting address 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting address 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB pen drive test====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==Improvements since previous bootable image==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write cache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5680</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5680"/>
		<updated>2014-03-21T15:07:19Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|300px]] Click on the image to see the high resolution version.&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting address 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting address 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB pen drive test====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==Improvements since previous bootable image==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write cache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5679</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5679"/>
		<updated>2014-03-21T15:06:23Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|300px]] Click on the image to see the high resolution version.&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB pen drive test====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==Improvements since previous bootable image==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5678</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5678"/>
		<updated>2014-03-21T15:04:48Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|300px]] Click on the image to see the high resolution version.&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB PEN DRIVE TEST====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5677</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5677"/>
		<updated>2014-03-21T15:04:01Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|100px]]&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB PEN DRIVE TEST====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5676</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5676"/>
		<updated>2014-03-21T15:03:37Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png|100pix]]&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB PEN DRIVE TEST====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHeadCommunicationProblem.png&amp;diff=5675</id>
		<title>File:ChicoHeadCommunicationProblem.png</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHeadCommunicationProblem.png&amp;diff=5675"/>
		<updated>2014-03-21T15:01:29Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5674</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5674"/>
		<updated>2014-03-21T15:01:08Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* readme.txt */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
The remaining of this page is the content of the readme.txt file in the home directory of Chico head (That file is not updated, it was generated on Feb. 6 2014):&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&amp;lt;br&amp;gt;&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ChicoHeadCommunicationProblem.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB PEN DRIVE TEST====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5673</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5673"/>
		<updated>2014-03-21T14:58:08Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Sometimes the iCubInterface gets stuck because it stops being able to communicate with some of the boards. It happened once on Mar. 21 2014 while the head seemed to be the limit of one of the joints. That joint was not actuated any more, while the others remained actuated. A similar problems seems to be happening on Vizzie.&lt;br /&gt;
&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB PEN DRIVE TEST====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5672</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5672"/>
		<updated>2014-03-21T14:55:56Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
====USB PEN DRIVE TEST====&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5671</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5671"/>
		<updated>2014-03-21T14:54:24Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; (This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5670</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5670"/>
		<updated>2014-03-21T14:54:01Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds. &amp;lt;(span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; This might have been caused by a malfunctioning board for the facial expressions. The problem is being investigated.)&amp;lt;/span&amp;gt;&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5669</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5669"/>
		<updated>2014-03-21T13:55:25Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Demos */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
* Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
* Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
*  &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt; NOT WORKING AT THE MOMENT.&amp;lt;/span&amp;gt; Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence. &lt;br /&gt;
* Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
On Mar. 21 2014 the facial expression system was not working at all. The YARP driver could not be initialized and the board emitted a weird sound when approached with a finger. Once the associated USB port was disconnected, the delays in accessing the USB stick seemed to vanish. It is possible that the broken board was jamming the USB system.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5636</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5636"/>
		<updated>2014-02-10T17:38:00Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Basic info=&lt;br /&gt;
[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5635</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5635"/>
		<updated>2014-02-10T17:37:12Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] &amp;lt;br&amp;gt;The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5634</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5634"/>
		<updated>2014-02-10T17:36:52Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
[[Image:ChicoHeadUsbStick.jpg]] The storage memory of Chico head is a USB stick. &amp;lt;br&amp;gt;There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5633</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5633"/>
		<updated>2014-02-10T17:35:54Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. [[Image:ChicoHeadUsbStick.jpg]] There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHeadUsbStick.jpg&amp;diff=5632</id>
		<title>File:ChicoHeadUsbStick.jpg</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHeadUsbStick.jpg&amp;diff=5632"/>
		<updated>2014-02-10T17:35:45Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: uploaded a new version of &amp;amp;quot;File:ChicoHeadUsbStick.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHeadUsbStick.jpg&amp;diff=5631</id>
		<title>File:ChicoHeadUsbStick.jpg</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHeadUsbStick.jpg&amp;diff=5631"/>
		<updated>2014-02-10T17:32:51Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5630</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5630"/>
		<updated>2014-02-10T17:11:55Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. There are 2 images (~4GB each) for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5629</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5629"/>
		<updated>2014-02-10T17:06:25Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. There are 2 images for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&amp;lt;br&amp;gt;&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5628</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5628"/>
		<updated>2014-02-10T17:05:18Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. There are 2 images for that data on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5627</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5627"/>
		<updated>2014-02-10T17:04:59Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. There are 2 images for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_BACKUP_image1.7-oc.bin&lt;br /&gt;
  smb://blackhole/Database/CHICO_HEAD/CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin&lt;br /&gt;
The second image is more recent and features some improvements respect to the first one.&lt;br /&gt;
An image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_HEAD_BACKUP_image1.8_2014_02_10.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
DD doesn&#039;t give you progress information while it&#039;s running, you can make it write such information on the screen by sending it a special message:&lt;br /&gt;
   sudo kill -USR1 $(pgrep ^dd)&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  sync&lt;br /&gt;
People who know about the image are Matteo, Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
In case you improve the content of the USB stick and want to make a new image of it, you can use a command like this:&lt;br /&gt;
  sudo dd if=/dev/sdXXXXX1 of=/home/matteo/sdXXXXX1.bin&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5622</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5622"/>
		<updated>2014-02-07T20:00:06Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
After which the system booted normally.&lt;br /&gt;
It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5621</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5621"/>
		<updated>2014-02-07T19:59:02Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
  After which the system booted normally.&lt;br /&gt;
  It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
  It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
  Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
==Wishlist==&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
==IMPROVEMENTS SINCE PREVIOUS IMAGE==&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5620</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5620"/>
		<updated>2014-02-07T19:57:46Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
==Demos==&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
  After which the system booted normally.&lt;br /&gt;
  It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
  It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
  Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Wishlist***&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***IMPROVEMENTS SINCE PREVIOUS IMAGE***&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5619</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5619"/>
		<updated>2014-02-07T19:55:33Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Demos***&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Known problems***&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
  After which the system booted normally.&lt;br /&gt;
  It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
  It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
  Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Wishlist***&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***IMPROVEMENTS SINCE PREVIOUS IMAGE***&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5618</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5618"/>
		<updated>2014-02-07T19:53:53Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
=readme.txt=&lt;br /&gt;
This is the content of the readme.txt file in the home directory of Chico head:&lt;br /&gt;
&lt;br /&gt;
Log in: like the one for the iCub&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Demos***&lt;br /&gt;
&lt;br /&gt;
To start the X server:&lt;br /&gt;
startx (or startxfce4)&lt;br /&gt;
&lt;br /&gt;
When you are in the X interface you can open terminals and start the various processes from there.&lt;br /&gt;
Scripts 1 and 2 start the YARP server and the iCubInterface (used for moving the robot).&lt;br /&gt;
Scripts 3_1..3_3 start the right camera, start a viewer and connect the two.&lt;br /&gt;
Scripts 4_1..4_4 start the emotion system and cycle emotions in a fixed sequence.&lt;br /&gt;
Script 6 moves the head and the eyes in a fixed sequence.&lt;br /&gt;
&lt;br /&gt;
All of this was running together smoothly on Feb. 6 2014.&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Known problems***&lt;br /&gt;
* The ethernet adapter on the bottom of the robot does not work.&lt;br /&gt;
* Turning on the robot with a cable plugged into the ethernet connector in the head of the robot gets the system stuck. You can plug the cable in after boot and initialize the ethernet connection with: sudo dhclient eth0.&lt;br /&gt;
* Something can block one application (typically the terminal and gedit) for 10..20 seconds.&lt;br /&gt;
  The freezing seems to be triggered both by some disk read and write operations.&lt;br /&gt;
  The system is still responsive, the affected application freezes, other applications can also freeze at that time if they need to access the disk (I suppose).&lt;br /&gt;
  It doesn&#039;t give problems to the demos once they have been started.&lt;br /&gt;
* It is common to get this USB-related error at boot time: &lt;br /&gt;
  &amp;gt;&amp;gt;USB 3-2: device descriptor read/64, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 4, error -71&lt;br /&gt;
  &amp;gt;&amp;gt;device not accepting addres 5, error -71&lt;br /&gt;
  After which the system booted normally.&lt;br /&gt;
  It seems to happen every time that the USB connector for the facial expression is connected to the board.&lt;br /&gt;
  It might mean that the USB connectors as a whole are requiring too much current.&lt;br /&gt;
  Even if the system is started and run without the facial expression connector plugged in, the system still freezes.&lt;br /&gt;
&lt;br /&gt;
USB PEN DRIVE TEST&lt;br /&gt;
* I ran hdparm 4 times and got these results (with low variation):&lt;br /&gt;
  $ sudo hdparm -tT /dev/sda&lt;br /&gt;
    /dev/sda:&lt;br /&gt;
    Timing cached reads:   5390 MB in  2.00 seconds = 2697.28 MB/sec&lt;br /&gt;
    Timing buffered disk reads:   74 MB in  3.05 seconds =  24.27 MB/sec&lt;br /&gt;
* I tried to run &amp;quot;bonnie&amp;quot;, but it didn&#039;t work.&lt;br /&gt;
  sudo bonnie -u1000&lt;br /&gt;
* I used iostat, I did an &amp;quot;ls&amp;quot; after the first measurement&lt;br /&gt;
$iostat -dkx 5 (displays measures every 5 seconds)&lt;br /&gt;
  Device:           rrqm/s   wrqm/s r/s   w/s     rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;br /&gt;
  sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00&lt;br /&gt;
  sda               0.00    13.39  0.00  0.81     0.00    56.80   140.00     0.01    9.00   4.00   0.32&lt;br /&gt;
  sda               0.00     3.69  0.00  0.65     0.00     2.60     8.00     8.27 1216.00 716.00  46.59&lt;br /&gt;
  sda               0.00     2.72  0.00  3.09     0.00    24.68    16.00    15.81 2809.18 294.12  90.74&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.80     9.60    32.69 4841.60 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.00  0.00  2.20     0.00    11.18    10.18    25.63 10185.82 454.55  99.80&lt;br /&gt;
  sda               0.00     0.00  0.00  2.19     0.00    17.53    16.00    12.01 13870.91 454.55  99.60&lt;br /&gt;
  sda               0.00     0.00  0.00  1.00     0.00     4.00     8.00     5.96 20111.20 1000.00 100.00&lt;br /&gt;
  sda               0.00     0.20  0.00  1.00     0.00     4.78     9.60     0.45 13737.60 152.00  15.14&lt;br /&gt;
  sda               0.00     0.40  0.00  0.40     0.00     3.20    16.00     0.00    0.00   0.00   0.00&lt;br /&gt;
&lt;br /&gt;
svctm = service time in milliseconds (not including the time spent in queue.&lt;br /&gt;
await = service time including waiting in queue. it peaks at 20 seconds!&lt;br /&gt;
&lt;br /&gt;
Little data is written, almost no data is read. Lots of time is spent in queue...&lt;br /&gt;
Why? Could it be that the USB pen is &amp;quot;asleep&amp;quot; and needs to be woken up?&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***Wishlist***&lt;br /&gt;
*Once the face detector+gaze demo was working on this platform. Maybe it could be restored with little effort.&lt;br /&gt;
&lt;br /&gt;
====================================================================&lt;br /&gt;
***IMPROVEMENTS SINCE PREVIOUS IMAGE***&lt;br /&gt;
*The demos work out of the box.&lt;br /&gt;
*The keyboard layout is Portuguese both for the real terminals and the X session.&lt;br /&gt;
*The browser doesn&#039;t write chache to the disk (freezing at almost every click)&lt;br /&gt;
*The sources lists have been updated, so more packages can be installed.&lt;br /&gt;
*Added the readme file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5613</id>
		<title>DollarPedestrianDetectionCode</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=DollarPedestrianDetectionCode&amp;diff=5613"/>
		<updated>2014-02-06T16:00:07Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Piotr Dollár et. al. collected the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark], a set of data and code to evaluate pedestrian detection algorithms. The data base consists of sequences of annotated images acquired by a camera mounted on a car. The authors provide the data, some code that allow others to test their detector on that data and the results of many state-of-the-art detectors, both in a synthetic form (ROC curves), as well as in the extensive form (the actual detection bounding boxes for each image). The authors also provide other data sets and results converted to match their format.&lt;br /&gt;
&lt;br /&gt;
In order to have the system running you should download Piotr&#039;s Matlab Toolbox, the Evaluation/Labelling code and the data (image sequences, ground truth bounding boxes and detection results bounding boxes). You have link to these on the main page of the [http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ Caltech Pedestrian Detection Benchmark].&amp;lt;br&amp;gt;&lt;br /&gt;
For the code to work you need to have Matlab with the Image Toolbox installed.&lt;br /&gt;
&lt;br /&gt;
== Getting ready ==&lt;br /&gt;
You should unpack the Piotr&#039;s Matlab Toolbox somewhere and add it to the Matlab Path: &lt;br /&gt;
  addpath(genpath(&#039;/home/matteo/PMT/&#039;)); savepath;&lt;br /&gt;
&lt;br /&gt;
You should unpack the Evaluation/Labelling code in a directory that we will call $code (later, you should run Matlab from that directory).&lt;br /&gt;
&lt;br /&gt;
All the files (image data bases, annotations, detection results) should be put in some standard subdirectories of &#039;&#039;&#039;$code/&#039;&#039;&#039;.&lt;br /&gt;
You have to have one subdirectory for each db, for instance, you need one for INRIA: &#039;&#039;&#039;$code/data-INRIA/&#039;&#039;&#039;. The names are standard, they&#039;re defined in some matlab file.&amp;lt;br&amp;gt;&lt;br /&gt;
Inside the particular db directory, you need to have:&lt;br /&gt;
# the video subdirectory, &#039;&#039;&#039;$code/data-INRIA/videos&#039;&#039;&#039;, containing more subdirectories and the &amp;quot;.seq&amp;quot; files with the images&lt;br /&gt;
# the annotations subdirectory, &#039;&#039;&#039;$code/data-INRIA/annotations&#039;&#039;&#039;, containing more subdirectories and the ground truth annotations&lt;br /&gt;
# the res subdirectory, &#039;&#039;&#039;$code/data-INRIA/res&#039;&#039;&#039;, containing more subdirectories with the results of the detections obtained running various algorithms&lt;br /&gt;
&lt;br /&gt;
Annotations are in the format: (x0, y0, deltaX, deltaY, confidence). The confidence value is used to plot the ROC curves.&lt;br /&gt;
There is one annotation file for each image.&lt;br /&gt;
I don&#039;t know if the top-left corner is (0,0) or (1,1).&lt;br /&gt;
&lt;br /&gt;
== Operations you want to do ==&lt;br /&gt;
=== Set the db you&#039;re working on ===&lt;br /&gt;
  [pth,setIds,vidIds,skip,minHt] = dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
or simply:&lt;br /&gt;
  dbInfo( &#039;inriatest&#039; )&lt;br /&gt;
&lt;br /&gt;
=== Show db images with annotations ===&lt;br /&gt;
vbbPlayer&lt;br /&gt;
&lt;br /&gt;
=== Compute the ROC curves for the specified algorithms, on the current db ===&lt;br /&gt;
dbEval&lt;br /&gt;
&lt;br /&gt;
=== Display images with GT annotations, the detections of a specific algorithm and their evaluation (true positive, false positive, etc.) ===&lt;br /&gt;
dbBrowser&lt;br /&gt;
&lt;br /&gt;
You should set some parameters in dbBrowser.m, such as which algorithm&#039;s results you want to plot and if you want to resize the detected bounding boxes. I am not sure when you want to resize the bounding boxes, if it depends on the algorithm you are testing or on the data base you are using.&lt;br /&gt;
  rPth=[pth &#039;/res/HOG&#039;];        % directory containing results&lt;br /&gt;
  thr=[];                       % detection threshold&lt;br /&gt;
  resize={100/128, 42/64, 0};   % controls resizing of detected bbs&lt;br /&gt;
&lt;br /&gt;
This file writes plots in $code/results and data in $code/eval.&lt;br /&gt;
&lt;br /&gt;
==How to evaluate the results of your algorithm==&lt;br /&gt;
&lt;br /&gt;
You should repeat, for all the images in a given set:&lt;br /&gt;
# read one image &lt;br /&gt;
# run your classifier on it&lt;br /&gt;
# write the annotations in your results directory, e.g. &#039;&#039;&#039;$code/data-INRIA/res/myDetector/set01/V000/I00000.txt&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here&#039;s an example:&lt;br /&gt;
  close all, clear;&lt;br /&gt;
  &lt;br /&gt;
  %Add the directories where Maji code is stored to the path&lt;br /&gt;
  addpath MajiCode/ped-demo-fast-8x8x1.1/&lt;br /&gt;
  addpath MajiCode/libsvm-mat-2.84-1-fast.v3/&lt;br /&gt;
  &lt;br /&gt;
  %Set parameters for Maji&#039;s code&lt;br /&gt;
      % non max supression (similar to hog-detector)&lt;br /&gt;
      nmax_param.sw = 0.1;&lt;br /&gt;
      nmax_param.sh = 0.1;&lt;br /&gt;
      nmax_param.ss = 1.3;&lt;br /&gt;
      nmax_param.th = 0.0;&lt;br /&gt;
  &lt;br /&gt;
      % detector is run at this scaleratio with a stride of 8x8&lt;br /&gt;
      scaleratio = 2^(1/8);&lt;br /&gt;
  &lt;br /&gt;
      % load precomputed models&lt;br /&gt;
      load approx_models;&lt;br /&gt;
      approx_model_hard = approx_models{2}; &lt;br /&gt;
      %two slightly different models (#training) &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  %Open the image sequence file (INRIA test set)&lt;br /&gt;
  seqReader = seqIo( &#039;data-INRIA/videos/set01/V000.seq&#039;, &#039;reader&#039;); %The pointer initially points to image -1, after the first sequReader.next() it points to image 1&lt;br /&gt;
  outputDirectory = &#039;data-INRIA/res/MatteoMaji/set01/V000/&#039;; %Set where to write the results&lt;br /&gt;
  info = seqReader.getinfo();&lt;br /&gt;
  nImages = info.numFrames;&lt;br /&gt;
  &lt;br /&gt;
  %Run the detector on each image, store bounding boxes results (and images?)&lt;br /&gt;
  for (imageNumber = 1 : nImages)&lt;br /&gt;
    seqReader.next();                          %Move pointer to the next image&lt;br /&gt;
    [image, timeStamp] = seqReader.getframe(); %Get current image&lt;br /&gt;
    [dr,ds] = run_detectorForDollar(image,approx_model_hard,scaleratio,nmax_param, outputDirectory, imageNumber-1); %Detect pedestrians (imageNumber is -1 because file numbers start from 0!)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Once you have you detections, you can evaluate them with &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, I had to change some parameters like this:&lt;br /&gt;
  dataNames={&#039;InriaTest&#039;};  %Evaluate algorithms on INRIA test&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case &#039;InriaTest&#039;&lt;br /&gt;
      aIds=[7 15]; bnds=[]; %Evaluate only HIKSVM and my algorithm&lt;br /&gt;
  &lt;br /&gt;
  [...]&lt;br /&gt;
  &lt;br /&gt;
  case 15,    alg=def(&#039;MatteoMaji&#039;,1,id); %Define the name and directory for my algorithm&lt;br /&gt;
  %I&#039;m not quite sure what the 1 means&lt;br /&gt;
&lt;br /&gt;
After running &#039;&#039;&#039;dbEval.m&#039;&#039;&#039;, you can run &#039;&#039;&#039;dbBrowser.m&#039;&#039;&#039; and compare your detection bounding boxes with the ground truth ones, inspect whether or not the evaluation software considers a detection as successful, etc.&lt;br /&gt;
&lt;br /&gt;
You can change some parameters in &#039;&#039;&#039;dbEval.m&#039;&#039;&#039; so that it creates albums showing the mistakes a specific algorithm makes.&lt;br /&gt;
(Be careful to select only one algorithm to evaluate, otherwise you will create at least tens of albums!)&lt;br /&gt;
&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fp&#039; ); %The third parameter tells the system how many pages of fals positives to save at most&lt;br /&gt;
  plotBb( res, rDir, 0, &#039;tp&#039; );  %If you want to save true positives&lt;br /&gt;
  plotBb( res, rDir, 30, &#039;fn&#039; ); %The third parameter tells the system how many pages of fals negatives to save at most&lt;br /&gt;
&lt;br /&gt;
==Various==&lt;br /&gt;
=== Read one or more imags from a &amp;quot;.seq&amp;quot; file and write it to a regular file ===&lt;br /&gt;
  Is = seqIo( &#039;data-INRIA/videos/set00/V000.seq&#039;, &#039;toImgs&#039;, &#039;.&#039;,              1,                  0,               2,          &#039;png&#039; )&lt;br /&gt;
               input seq file                      command  dest directory    frames to skip      first frame   last frame     format&lt;br /&gt;
&lt;br /&gt;
=== Create seq file from a directory of images ===&lt;br /&gt;
&lt;br /&gt;
seq utility: help seqIo&amp;gt;frImags&lt;br /&gt;
&lt;br /&gt;
   info.codec=&#039;jpg&#039;; &lt;br /&gt;
   info.fps=5;&lt;br /&gt;
   info.quality = 100;&lt;br /&gt;
   info.width =640;&lt;br /&gt;
   info.height =480;&lt;br /&gt;
   seqIo(&#039;cam51.seq&#039;,&#039;frImgs&#039;, info,&#039;sDir&#039;,&#039;/home/athira/Desktop/HDA/data_labelling/toolbox/cam51&#039;, &#039;f0&#039;,0,&#039;f1&#039;,3660  )&lt;br /&gt;
          fname       command  info  varargin&lt;br /&gt;
Note: The code expects the extention of the image as &#039;.jpg&#039; and not &#039;.jpeg&#039;. So, in case if you want to use jpeg, alter the seqIo.m  in line 335.(frmStr)&lt;br /&gt;
&lt;br /&gt;
=== Adding a new dataset WIP ===&lt;br /&gt;
In order to add a new dataset to the system, you should first of all create one or more seq files.&lt;br /&gt;
So, create the root directory where this dataset will reside &#039;&#039;&#039;data-HDA&#039;&#039;&#039;, plus the three subdirectories &#039;&#039;&#039;data-HDA/videos&#039;&#039;&#039;, &#039;&#039;&#039;data-HDA/annotations&#039;&#039;&#039; and &#039;&#039;&#039;data-HDA/res&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Insert the entry relative to this dataset into the dbInfo.m script:&lt;br /&gt;
&lt;br /&gt;
  case &#039;hda&#039;&lt;br /&gt;
    setIds=0;      %ID&#039;s of sub datasets if there are some&lt;br /&gt;
    subdir=&#039;HDA&#039;;&lt;br /&gt;
    skip=1;        %number of frames used for subsampling during evaluation&lt;br /&gt;
    minHt=50;      %minimum labeled pedestrian height in dataset, not sure if this is used in the code somewhere or if it&#039;s just descriptive&lt;br /&gt;
    vidIds={0};    %video ID&#039;s inside each of the sub datasets&lt;br /&gt;
&lt;br /&gt;
To create a seq file staring from a video, you can use the [http://users.isr.ist.utl.pt/~mtaiana/code/createSeqFile.m createSeqFile.m] script. For some reason, the seq files created this way are not playable directly with &#039;&#039;&#039;vbbPlayer.m&#039;&#039;&#039;, but it can be labelled using &#039;&#039;&#039;vbbLabeler.m&#039;&#039;&#039;. You can download a short tutorial on how to use the labeller here: [http://users.isr.ist.utl.pt/~mtaiana/temp/LabellingDemo.mkv labelling demo].&lt;br /&gt;
&lt;br /&gt;
The classes for the bounding boxes are &#039;&#039;&#039;person&#039;&#039;&#039; for a single person, &#039;&#039;&#039;person?&#039;&#039;&#039; for something the labeler is not sure whether it is a person or not, &#039;&#039;&#039;people&#039;&#039;&#039; for groups of people for which it is impossible to label each person correctly. There is a label for persons who are partly occluded, it&#039;s not so clear how it works.&lt;br /&gt;
&lt;br /&gt;
=== Accessing the frames of a seq file ===&lt;br /&gt;
&lt;br /&gt;
  %Initialize the reader&lt;br /&gt;
  seqReader = seqIo( &#039;cam60.seq&#039;, &#039;reader&#039;);&lt;br /&gt;
  %Read one frame&lt;br /&gt;
  seqReader.seek(269);&lt;br /&gt;
  image = seqReader.getframe();&lt;br /&gt;
  imshow(image);&lt;br /&gt;
&lt;br /&gt;
=== Annotating the INRIA data set again ===&lt;br /&gt;
It seems impossible to do it with &#039;&#039;&#039;vbbLabeler.m&#039;: it complains about something, like the fact that the images are not all of the same size.&lt;br /&gt;
So we might do that using &#039;&#039;&#039;bblabeler.m&#039;&#039;&#039;, which saves the annotations in a different format, but should be useful anyway.&lt;br /&gt;
&lt;br /&gt;
  bbLabeler( [{&#039;person&#039;, &#039;people&#039;}], &#039;~/PhD/datasets/INRIAPerson/Train/pos/&#039;, &#039;inriaNewLabels&#039;);&lt;br /&gt;
&lt;br /&gt;
=== Transform all the images of a data set into a new version of it ===&lt;br /&gt;
Use the &amp;quot;convert&amp;quot; function on the seq file, applying imgFun(I) to each frame I:&lt;br /&gt;
    seqIo( fName, &#039;convert&#039;, tName, imgFun, varargin )&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5610</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5610"/>
		<updated>2014-02-05T16:04:00Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Darwin&amp;diff=5609</id>
		<title>Darwin</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Darwin&amp;diff=5609"/>
		<updated>2014-02-05T15:56:09Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Crude instructions for running a demo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Darwin-op.jpg|frame|right|caption|Components of the DARwIn-OP robot.]]&lt;br /&gt;
&lt;br /&gt;
Robotis DARwIn-OP (Dynamic Anthropomorphic Robot with Intelligence – Open Platform) is a humanoid robot platform which weighs approximately 3 kg and is about 45 cm tall. Sponsored by the National Science Foundation (NSF) in the United States, DARwIn-OP is developed by RoMeLa at Virginia Tech in collaboration with Purdue University, University of Pennsylvania, and Robotis Co.&lt;br /&gt;
&lt;br /&gt;
DARwIn-OP is an open platform where users are encouraged to modify it in both hardware and software, and various software implementations are possible (C++, Python, LabVIEW, MATLAB, etc.) The open source hardware is not only user serviceable thanks to its modular design, but also can be fabricated by the user. Publicly open CAD files for all of its parts, and instructions manuals for fabrication and assembly are available on-line for free. DARwIn-OP can also be purchased from Robotis as a product.&lt;br /&gt;
&lt;br /&gt;
= Crude instructions for running a demo =&lt;br /&gt;
* Extract Darwin from the box&lt;br /&gt;
* Connect power cable&lt;br /&gt;
* Hold Darwin in standing position and press the power switch to turn it on. It activates the joints and assumes a &amp;quot;squatting position&amp;quot; while it turns on.&lt;br /&gt;
* Wait for many LEDs to turn on on the back of the robot. When the initialization finishes, it says something.&lt;br /&gt;
* Click the &amp;quot;mode&amp;quot; button, Darwin should say: &amp;quot;Soccer demo&amp;quot;.&lt;br /&gt;
* Click the &amp;quot;play&amp;quot; button.&lt;br /&gt;
* Put a red object in front of the robot to play.&lt;br /&gt;
* To stop the robot, click on the &amp;quot;mode&amp;quot; button again.&lt;br /&gt;
* Then click a button on the front of the robot to shut down the internal system. It&#039;s a hidden button, the lower &amp;quot;hole&amp;quot; on the right side of the robot chest.&lt;br /&gt;
* Eventually, move the power switch on the back of the robot to the off position.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* http://darwin-op.springnote.com/&lt;br /&gt;
* http://support.robotis.com/&lt;br /&gt;
* http://sourceforge.net/projects/darwinop/&lt;br /&gt;
* http://www.robotis-shop-en.com/shop/step1.php?number=914#good1&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Nao&amp;diff=5608</id>
		<title>Nao</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Nao&amp;diff=5608"/>
		<updated>2014-02-05T13:58:35Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Nao.jpg|frame|right|caption|The Nao robot.]]&lt;br /&gt;
&lt;br /&gt;
Nao is a humanoid robotic platform developed by Aldebaran Robotics. The robot is approximately 58 cm tall and weighs about 5 kg.&lt;br /&gt;
&lt;br /&gt;
= Crude instructions for running a demo =&lt;br /&gt;
* Extract Nao from the box&lt;br /&gt;
* Put it in sitting position, with the arms resting on the knees (like in the picture shown here)&lt;br /&gt;
* To turn it on, press the button on its chest&lt;br /&gt;
* Wait until the three LEDs on each ear light up.&lt;br /&gt;
* When the robot is fully ready it says something.&lt;br /&gt;
* There are 5 buttons used to trigger demos:&lt;br /&gt;
** Button Head, back: commands Nao to sit.&lt;br /&gt;
** Button Head, center: commands Nao to stand up. It works when Nao is sitting or is lying on the floor with its back or its front.&lt;br /&gt;
** Button Head, front: commands Nao to play tai chi. It works only when Nao is standing.&lt;br /&gt;
** Right hand: commands Nao to wave his hand and greet people.&lt;br /&gt;
** Left hand: commands Nao to walk ~60cm.&lt;br /&gt;
* To turn Nao off, you need to press the button on the chest (completely) for a few seconds. There is an intermediate pressure level for that button, I&#039;m not sure what that does.&lt;br /&gt;
&lt;br /&gt;
* You can make Nao fall either to the front or to the back while he&#039;s standing, BUT YOU NEED TO CATCH IT, PREVENTING IT TO HIT THE GROUND TOO HARD. It makes a sound when falling and assumes a pose that is meant to protect it.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;Hands-on training: Nao and Choregraphe&amp;quot; slides (available from RNunes)&lt;br /&gt;
* http://www.aldebaran-robotics.com/&lt;br /&gt;
* http://www.aldebaran-robotics.com/documentation/nao/&lt;br /&gt;
* http://www.youtube.com/user/AldebaranRobotics&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Nao.jpg&amp;diff=5607</id>
		<title>File:Nao.jpg</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:Nao.jpg&amp;diff=5607"/>
		<updated>2014-02-05T13:47:51Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Nao&amp;diff=5606</id>
		<title>Nao</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Nao&amp;diff=5606"/>
		<updated>2014-02-05T13:47:39Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Nao.jpg|frame|right|caption|The Nao robot.]]&lt;br /&gt;
&lt;br /&gt;
Nao is a humanoid robotic platform developed by Aldebaran Robotics. The robot is approximately 58 cm tall and weighs about 5 kg.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;Hands-on training: Nao and Choregraphe&amp;quot; slides (available from RNunes)&lt;br /&gt;
* http://www.aldebaran-robotics.com/&lt;br /&gt;
* http://www.aldebaran-robotics.com/documentation/nao/&lt;br /&gt;
* http://www.youtube.com/user/AldebaranRobotics&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Darwin&amp;diff=5605</id>
		<title>Darwin</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Darwin&amp;diff=5605"/>
		<updated>2014-02-05T12:28:09Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Darwin-op.jpg|frame|right|caption|Components of the DARwIn-OP robot.]]&lt;br /&gt;
&lt;br /&gt;
Robotis DARwIn-OP (Dynamic Anthropomorphic Robot with Intelligence – Open Platform) is a humanoid robot platform which weighs approximately 3 kg and is about 45 cm tall. Sponsored by the National Science Foundation (NSF) in the United States, DARwIn-OP is developed by RoMeLa at Virginia Tech in collaboration with Purdue University, University of Pennsylvania, and Robotis Co.&lt;br /&gt;
&lt;br /&gt;
DARwIn-OP is an open platform where users are encouraged to modify it in both hardware and software, and various software implementations are possible (C++, Python, LabVIEW, MATLAB, etc.) The open source hardware is not only user serviceable thanks to its modular design, but also can be fabricated by the user. Publicly open CAD files for all of its parts, and instructions manuals for fabrication and assembly are available on-line for free. DARwIn-OP can also be purchased from Robotis as a product.&lt;br /&gt;
&lt;br /&gt;
= Crude instructions for running a demo =&lt;br /&gt;
* Extract Darwin from the box&lt;br /&gt;
* Connect power cable&lt;br /&gt;
* Hold Darwin in standing position and press the power switch to turn it on.&lt;br /&gt;
* Wait for 3 leds to turn on on the back of the robot.&lt;br /&gt;
* Click the &amp;quot;mode&amp;quot; button, Darwin should say: &amp;quot;Soccer demo&amp;quot;.&lt;br /&gt;
* Put a red object in front of the robot to play.&lt;br /&gt;
* To stop the robot, click on the &amp;quot;mode&amp;quot; button again.&lt;br /&gt;
* Then click a button on the front of the robot to shut down the internal system. It&#039;s a hidden button, the lower &amp;quot;hole&amp;quot; on the left side of the robot chest.&lt;br /&gt;
* Eventually, move the power switch on the back of the robot to the off position.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* http://darwin-op.springnote.com/&lt;br /&gt;
* http://support.robotis.com/&lt;br /&gt;
* http://sourceforge.net/projects/darwinop/&lt;br /&gt;
* http://www.robotis-shop-en.com/shop/step1.php?number=914#good1&lt;br /&gt;
&lt;br /&gt;
[[Category:Robots]]&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5604</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5604"/>
		<updated>2014-02-04T15:23:13Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ChicoHead.jpg|frame|left|caption|Chico head.]]&lt;br /&gt;
The storage memory of Chico head is a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHead.jpg&amp;diff=5603</id>
		<title>File:ChicoHead.jpg</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHead.jpg&amp;diff=5603"/>
		<updated>2014-02-04T15:21:56Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: uploaded a new version of &amp;amp;quot;File:ChicoHead.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHead.jpg&amp;diff=5602</id>
		<title>File:ChicoHead.jpg</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=File:ChicoHead.jpg&amp;diff=5602"/>
		<updated>2014-02-04T15:20:29Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5601</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5601"/>
		<updated>2014-02-04T15:17:27Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data is hosted on a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
Before removing the USB stick, run sync to ensure that all data has been written:&lt;br /&gt;
  rsync&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Main_Page&amp;diff=5600</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Main_Page&amp;diff=5600"/>
		<updated>2014-02-04T15:15:50Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: /* Research */  Added Chico head to the list of robots.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Welcome to the MediaWiki space of the [http://www.isr.ist.utl.pt Institute for Systems and Robotics].&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Opportunities ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Past ===&lt;br /&gt;
&lt;br /&gt;
* [[BII 2009]]&lt;br /&gt;
* [[Dissertation/Project proposals]]&lt;br /&gt;
* [[BII 2008]]&lt;br /&gt;
&lt;br /&gt;
== Research ==&lt;br /&gt;
&lt;br /&gt;
* bureaucracy: [[Prospective PhD students]]&lt;br /&gt;
* [[Vislab | Computer and Robot Vision Lab (VisLab)]]&lt;br /&gt;
** robots: [[Chica]], [[Chico]], [[Chico head]], [[Darwin]], [[Nao]], [[Vizzy]]&lt;br /&gt;
** archive: [[VisLab logbook]], [[VisLab Videos]], [[VisLab Proceedings]], [[VisLab Meetings]]&lt;br /&gt;
** datasets: [[Multiple View Tracking]]&lt;br /&gt;
** demos:  [[Affordance imitation]], &#039;&#039;&#039;[[iCub demos]]&#039;&#039;&#039;, [[Cyberglove Remote Control]]&lt;br /&gt;
** hardware: [[Chico3 laptop machine configuration]], [[Cortex]], [[iCubBrain server configuration]], [[Kinect]], [[pc104]], [[vislab8]] (NVIDIA Tesla GPGPU), [[OptiTrack]]&lt;br /&gt;
** software: [[VisLab machines configuration]], [[VisLab network]], [[RobotCub coding basics]], &#039;&#039;&#039;[[RobotCub software]], &#039;&#039;&#039;[[Poeticon software]]&lt;br /&gt;
** misc: [[Acknowledgements for papers]]&lt;br /&gt;
* [[Intelligent Robots and Systems Group]]&lt;br /&gt;
** robots: [[RAPOSA robot|RAPOSA]], [[ISR Bioloid Humanoid|Bioloid]], [[ISR-CoBot]]&lt;br /&gt;
* [[Lisbon-K Chromosome Dataset]]&lt;br /&gt;
* [[International conferences deadlines]]&lt;br /&gt;
* [[Journals]]&lt;br /&gt;
* [[Computer Vision Journals RSS feeds]]&lt;br /&gt;
* European Projects: [[Recommendations for European Project Proposals]]&lt;br /&gt;
* [[Introduction to ROS]]&lt;br /&gt;
** [http://ftp.isr.ist.utl.pt/pub/roswiki/ Local mirror of ROS wiki]&lt;br /&gt;
&lt;br /&gt;
== Teaching ==&lt;br /&gt;
&lt;br /&gt;
* [[Robotics lab resources]]&lt;br /&gt;
* [[Autonomous Systems resources]]&lt;br /&gt;
* [[Discrete Event Dynamic Systems resources]]&lt;br /&gt;
* [[Artificial Intelligence and Decision Systems resources]]&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
&lt;br /&gt;
=== Ongoing ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Past === &lt;br /&gt;
&lt;br /&gt;
* [[Ocupação Científica de Jovens nas Férias 2013]]&lt;br /&gt;
* [[Summer course on ROS framework 2013]]&lt;br /&gt;
* [[Ocupação Científica de Jovens nas Férias 2012]]&lt;br /&gt;
* [[Ocupação Científica de Jovens nas Férias 2011]]&lt;br /&gt;
* [[Ocupação Científica de Jovens nas Férias 2010]]&lt;br /&gt;
* [http://vislab.isr.ist.utl.pt/RLSS09 RLSS09: Robot Learning Summer School]&lt;br /&gt;
* [[Ocupação Científica de Jovens nas Férias 2009]]&lt;br /&gt;
* [[Lisbon Workshop on New Challenges for Cooperative Robotics]]&lt;br /&gt;
&lt;br /&gt;
== Computing ==&lt;br /&gt;
&lt;br /&gt;
* [[ISR computing resources]]&lt;br /&gt;
* [[Macintosh resources]] (incl. useful tips)&lt;br /&gt;
* [[Python resources]]&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* [[Administrative checklist]] (internal use only) -- &#039;&#039;&#039;check here for all rules concerning purchases, conference trips, paper credits, etc.&#039;&#039;&#039;&lt;br /&gt;
* [http://library.isr.ist.utl.pt/isr/logo/ ISR logos]&lt;br /&gt;
* [[ISR_meeting_room]]&lt;br /&gt;
* [[List of restaurants]]&lt;br /&gt;
* [http://wiki.isr.ist.utl.pt Former ISR wiki pages]&lt;br /&gt;
* Use this [[SandBox]] for experimentation with MediaWiki&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5599</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5599"/>
		<updated>2014-02-04T15:14:53Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data is hosted on a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;br /&gt;
&lt;br /&gt;
People who know about the image are Ricardo Ferreira and Alex.&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5598</id>
		<title>Chico head</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=Chico_head&amp;diff=5598"/>
		<updated>2014-02-04T15:14:02Z</updated>

		<summary type="html">&lt;p&gt;Mtaiana: Created page with &amp;quot;The data is hosted on a USB stick. The image for that data is on Blackhole:   smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc The image can be dumped on a new USB stick wi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data is hosted on a USB stick. The image for that data is on Blackhole:&lt;br /&gt;
  smb://blackhole/database/ICUB/CHICO_BACKUP_image1.7-oc&lt;br /&gt;
The image can be dumped on a new USB stick with the &amp;quot;dd&amp;quot; command:&lt;br /&gt;
  sudo dd bs=4096 if=CHICO_BACKUP_image1.7-oc.bin of=/dev/sdXXXXX&lt;br /&gt;
Specify the correct sd device istead of sdXXXXX (sdb, sdc or the like). Pay attention not to overwrite the wrong disk!&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
</feed>