Difference between revisions of "SkinDriftCompensation"

From Wiki for iCub and Friends
Jump to: navigation, search
Line 1: Line 1:
This is a page to help me remember how to run the iCub skinDriftCompensation module and the corresponding GUI.  Based on information from Andrea Del Prete.
+
This is a page to help me remember how to run the iCub skinDriftCompensation module and the corresponding GUI, in order to replicate a problem.  Based on information from Andrea Del Prete.
  
 
Let ICUB_BASE be the path to the iCub source code (in the past this was ICUB_ROOT, but that now appears to mean something different: the location of a set of installed configuration files).
 
Let ICUB_BASE be the path to the iCub source code (in the past this was ICUB_ROOT, but that now appears to mean something different: the location of a set of installed configuration files).
Line 7: Line 7:
 
* [http://eris.liralab.it/iCub/main/dox/html/group__icub__skinDriftCompensationGui.html skinDriftCompensationGui] - $ICUB_BASE/main/src/tools/skinDriftCompensationGui
 
* [http://eris.liralab.it/iCub/main/dox/html/group__icub__skinDriftCompensationGui.html skinDriftCompensationGui] - $ICUB_BASE/main/src/tools/skinDriftCompensationGui
 
* [[Media:TactileDataSimulation.zip]] - a dummy source of tactile data, for testing (from Andrea).
 
* [[Media:TactileDataSimulation.zip]] - a dummy source of tactile data, for testing (from Andrea).
 +
 +
== Running TactileDataSimulation ==
 +
(notes from Andrea)
 +
When I was testing my code I wrote a little program that simulates a skin port (you find it attached, [[Media:TactileDataSimulation.zip]]). You can use this program to create all the skin ports needed and then you should have the right enviroment to experience the same hang. Unfortunately the program opens only a port, so you should run 7 instances specifying the 7 port names (or you can modify the program). When you are done with the skin ports open with the manager the script $ICUB_ROOT/app/skinGui/skinGuiLeftArm.xml. Then click "Run Modules" and then click "Update". If the manager hangs there is the problem. But remember to decomment the automatic port connections in the code of the skinDriftCompensationGui module.
  
 
== Important parts ==
 
== Important parts ==
 
* gui: initNetwork in src/main.cpp.
 
* gui: initNetwork in src/main.cpp.

Revision as of 11:45, 23 June 2011

This is a page to help me remember how to run the iCub skinDriftCompensation module and the corresponding GUI, in order to replicate a problem. Based on information from Andrea Del Prete.

Let ICUB_BASE be the path to the iCub source code (in the past this was ICUB_ROOT, but that now appears to mean something different: the location of a set of installed configuration files).

Names and locations of relevant modules:

Running TactileDataSimulation

(notes from Andrea) When I was testing my code I wrote a little program that simulates a skin port (you find it attached, Media:TactileDataSimulation.zip). You can use this program to create all the skin ports needed and then you should have the right enviroment to experience the same hang. Unfortunately the program opens only a port, so you should run 7 instances specifying the 7 port names (or you can modify the program). When you are done with the skin ports open with the manager the script $ICUB_ROOT/app/skinGui/skinGuiLeftArm.xml. Then click "Run Modules" and then click "Update". If the manager hangs there is the problem. But remember to decomment the automatic port connections in the code of the skinDriftCompensationGui module.

Important parts

  • gui: initNetwork in src/main.cpp.