Skip to content

Commit de90751

Browse files
authored
Merge pull request #194 from robotology/iCubGenova08
ICubGenova08
2 parents 94d2cf1 + 889b79b commit de90751

File tree

204 files changed

+10302
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+10302
-0
lines changed

iCubGenova08/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
set(appname iCubGenova08)
2+
3+
file(GLOB xml ${CMAKE_CURRENT_SOURCE_DIR}/*.xml)
4+
file(GLOB ini ${CMAKE_CURRENT_SOURCE_DIR}/*.ini)
5+
6+
yarp_install(FILES ${xml} DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
7+
yarp_install(FILES ${ini} DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
8+
yarp_install(DIRECTORY calibrators DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
9+
yarp_install(DIRECTORY cartesian DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
10+
yarp_install(DIRECTORY wrappers DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
11+
yarp_install(DIRECTORY hardware DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
12+
yarp_install(DIRECTORY camera DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})
13+
yarp_install(DIRECTORY estimators DESTINATION ${ICUBCONTRIB_ROBOTS_INSTALL_DIR}/${appname})

iCubGenova08/L_R_arm.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE robot PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
<robot name="iCubGenova08" build="1">
5+
6+
<devices>
7+
8+
<!-- LEFT ARM -->
9+
<xi:include href="hardware/motorControl/left_arm-eb1-j0_3-mc.xml" />
10+
<xi:include href="hardware/motorControl/left_arm-eb24-j4_7-mc.xml" />
11+
<xi:include href="hardware/motorControl/left_arm-eb25-j8_11-mc.xml" />
12+
<xi:include href="hardware/motorControl/left_arm-eb26-j12_15-mc.xml" />
13+
<xi:include href="wrappers/motorControl/left_arm-mc_wrapper.xml" />
14+
15+
<!-- RIGHT ARM -->
16+
<xi:include href="hardware/motorControl/right_arm-eb3-j0_3-mc.xml" />
17+
<xi:include href="hardware/motorControl/right_arm-eb27-j4_7-mc.xml" />
18+
<xi:include href="hardware/motorControl/right_arm-eb28-j8_11-mc.xml" />
19+
<xi:include href="hardware/motorControl/right_arm-eb29-j12_15-mc.xml" />
20+
<xi:include href="wrappers/motorControl/right_arm-mc_wrapper.xml" />
21+
22+
<!-- CALIBRATORS -->
23+
<xi:include href="calibrators/left_arm-calib.xml" />
24+
<xi:include href="calibrators/right_arm-calib.xml" />
25+
</devices>
26+
</robot>
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
5+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="face-calibrator" type="parametricCalibratorEth">
6+
7+
<xi:include href="../general.xml" />
8+
9+
<group name="GENERAL">
10+
<param name="joints"> 1 </param> <!-- the number of joints of the robot part -->
11+
<param name="deviceName"> FaceV3_Calibrator </param> <!-- this name is used for high-level debug -->
12+
</group>
13+
14+
<group name="HOME">
15+
<param name="positionHome"> 0 </param>
16+
<param name="velocityHome"> 10 </param>
17+
</group>
18+
19+
<!-- joint logical number 0 -->
20+
<!-- joint name eyelids -->
21+
<group name="CALIBRATION">
22+
<param name="calibrationType"> 12 </param>
23+
<!-- The value of the raw encoder needs to be with sign -->
24+
<param name="calibration1"> -2700 </param>
25+
<param name="calibration2"> 0 </param>
26+
<param name="calibration3"> 0 </param>
27+
28+
<param name="calibration4"> 0 </param>
29+
<param name="calibration5"> 0 </param>
30+
31+
<param name="calibrationZero"> 0 </param>
32+
<param name="calibrationDelta"> 0 </param>
33+
34+
<param name="startupPosition"> 0 </param>
35+
<param name="startupVelocity"> 10 </param>
36+
<param name="startupMaxPwm"> 3360 </param>
37+
<param name="startupPosThreshold"> 90 </param>
38+
</group>
39+
40+
<!-- calibration of eyelids where Gearbox_E2J is != 1:
41+
1. in general.xml we set useRawEncoderData = true [as for any type3 calib].
42+
2. retrieve the encoder reading of joint placed in zero position [as for any type3 calib].
43+
3. for computation of calibration3 param use the standard excel formula [as for any type3 calib].
44+
4. for calibrationZero (and VERY IMPORTANT: value of zero in execl formula) use a correction factor of 1/Gearbox_E2J.
45+
As an example, to move away from zero crossing use zero = (+/-) 180 / Gearbox_E2J, where the sign is the same as the encoder reading.
46+
47+
-->
48+
<param name="CALIB_ORDER"> (0) </param> <!-- we can calibrate all joints in parallel (for now not the jaw yet)-->
49+
50+
<action phase="startup" level="10" type="calibrate">
51+
<param name="target">face-mc_wrapper</param>
52+
</action>
53+
54+
<action phase="interrupt1" level="1" type="park">
55+
<param name="target">face-mc_wrapper</param>
56+
</action>
57+
58+
<action phase="interrupt3" level="1" type="abort" />
59+
60+
</device>
61+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
5+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="head-calibrator" type="parametricCalibratorEth">
6+
7+
<xi:include href="../general.xml" />
8+
9+
<group name="GENERAL">
10+
<param name="joints"> 6 </param> <!-- the number of joints of the robot part -->
11+
<param name="deviceName"> HeadV3_Calibrator </param> <!-- this name is used for high-level debug -->
12+
</group>
13+
14+
<group name="HOME">
15+
<param name="positionHome"> 0 0 0 0 0 0 </param>
16+
<param name="velocityHome"> 10 10 10 10 10 10 </param>
17+
</group>
18+
19+
<!-- joint logical number 0 1 2 3 4 5 -->
20+
<!-- joint name neck-pitch neck-roll neck-yaw eyes-tilt eyes-vers eyes-verg --> <!-- j4 is right-eye, j5 is left-eye -->
21+
<group name="CALIBRATION">
22+
<param name="calibrationType"> 12 12 12 12 5 5 </param>
23+
<param name="calibration1"> 55503 37311 16271 11871 3000 3000 </param>
24+
<param name="calibration2"> 0 0 0 0 8192 8192 </param>
25+
<param name="calibration3"> 0 0 0 0 0 0 </param>
26+
<param name="calibration4"> 0 0 0 0 0 0 </param>
27+
<param name="calibration5"> 0 0 0 0 0 0 </param>
28+
<param name="calibrationZero"> 0 0 0 0 0 0 </param>
29+
<param name="calibrationDelta"> -3.2 0.3 -1.8 -7.8 2.29 -5.885 </param>
30+
31+
<param name="startupPosition"> 0 0 0 0 0 0 </param>
32+
<param name="startupVelocity"> 10 10 20 20 20 20 </param>
33+
<param name="startupMaxPwm"> 3000 3000 3000 3000 0 0 </param>
34+
<param name="startupPosThreshold"> 90 90 2 2 2 2 </param>
35+
</group>
36+
37+
<param name="CALIB_ORDER"> (0 1 2) (3) (4 5) </param>
38+
39+
<action phase="startup" level="10" type="calibrate">
40+
<param name="target">head-mc_wrapper</param>
41+
</action>
42+
43+
<action phase="interrupt1" level="1" type="park">
44+
<param name="target">head-mc_wrapper</param>
45+
</action>
46+
47+
<action phase="interrupt3" level="1" type="abort" />
48+
49+
</device>
50+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
5+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="left_arm-calibrator" type="parametricCalibratorEth">
6+
<xi:include href="../general.xml" />
7+
8+
<group name="GENERAL">
9+
<param name="joints">16</param> <!-- the number of joints of the robot part -->
10+
<param name="deviceName"> Left_Arm_Calibrator </param>
11+
</group>
12+
<!-- joint logical number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -->
13+
<group name="HOME">
14+
<param name="positionHome"> -30 30 0 45 0 0 0 35 65 0 0 0 0 0 0 0 </param>
15+
<param name="velocityHome"> 10 10 10 10 30 30 30 60 30 30 30 30 30 30 30 30 </param>
16+
</group>
17+
18+
<group name="CALIBRATION">
19+
<param name="calibrationType"> 12 12 12 12 5 12 12 7 7 6 6 6 6 6 6 6 </param>
20+
<param name="calibration1"> 42367 21119 17775 35999 -1500 385 52879 0 0 0 0 0 0 0 0 0 </param>
21+
<param name="calibration2"> 0 0 0 0 16384 0 0 0 0 9102 9102 9102 9102 9102 9102 10000 </param>
22+
<param name="calibration3"> 0 0 0 0 0 0 0 0 0 -1 1 -1 1 -1 1 1 </param>
23+
<param name="calibration4"> 0 0 0 0 0 0 0 2803 600 247 506 255 493 255 510 750 </param>
24+
<param name="calibration5"> 0 0 0 0 0 0 0 2970 3770 5 7 0 46 40 0 102 </param>
25+
<param name="calibrationZero"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </param>
26+
<param name="calibrationDelta"> 0.4 -8.15 -1.56 0.96 0 2.9 -3.4 0 0 0 0 0 0 0 0 0 </param>
27+
28+
<param name="startupPosition"> -35 30 0 50 0 0 0 15 30 0 0 0 0 0 0 0 </param>
29+
<param name="startupVelocity"> 10 10 10 10 30 30 30 100 100 100 100 100 100 100 100 100 </param>
30+
<param name="startupMaxPwm"> 2000 2000 2000 2000 2000 0 0 0 0 0 0 0 0 0 0 0 </param>
31+
<param name="startupPosThreshold"> 2 2 2 2 90 90 90 90 90 90 90 90 90 90 90 90 </param>
32+
</group>
33+
34+
<param name="CALIB_ORDER">(0 1 2 3) (4) (5 6 7) (8 9 11 13) (10 12 14 15) </param>
35+
36+
<action phase="startup" level="10" type="calibrate">
37+
<param name="target">left_arm-mc_wrapper</param>
38+
</action>
39+
40+
<action phase="interrupt1" level="1" type="park">
41+
<param name="target">left_arm-mc_wrapper</param>
42+
</action>
43+
44+
<action phase="interrupt3" level="1" type="abort" />
45+
46+
</device>
47+
48+
49+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
5+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="left_leg-calibrator" type="parametricCalibratorEth">
6+
<xi:include href="../general.xml" />
7+
8+
<group name="GENERAL">
9+
<param name="joints"> 6 </param> <!-- the number of joints of the robot part -->
10+
<param name="deviceName"> Left_Leg_Calibrator </param>
11+
</group>
12+
13+
<group name="HOME">
14+
<param name="positionHome"> 0.00 10.00 0.00 0.00 0.00 0.00 </param>
15+
<param name="velocityHome"> 10.00 10.00 10.00 10.00 10.00 10.00 </param>
16+
</group>
17+
18+
19+
<group name="CALIBRATION">
20+
<param name="calibrationType"> 12 12 12 12 12 12 </param>
21+
<param name="calibration1"> 223 6239 57663 36031 63375 63535 </param>
22+
<param name="calibration2"> 0 0 0 0 0 0 </param>
23+
<param name="calibration3"> 0 0 0 0 0 0 </param>
24+
25+
<param name="calibration4"> 0 0 0 0 0 0 </param>
26+
<param name="calibration5"> 0 0 0 0 0 0 </param>
27+
<param name="calibrationZero"> 0 0 0 0 0 0 </param>
28+
<param name="calibrationDelta"> -0.5 0.5 -2.3 -1.5 -1 -0.2 </param>
29+
30+
31+
<param name="startupPosition"> 0 5 0 0 0 0 </param>
32+
<param name="startupVelocity"> 5 5 10 10 10 10 </param>
33+
<param name="startupMaxPwm"> 1200 1200 1200 1200 1500 1500 </param>
34+
<param name="startupPosThreshold"> 2 2 2 2 2 2 </param>
35+
</group>
36+
37+
<param name="CALIB_ORDER"> (0 1 2 3 4 5) </param>
38+
39+
<action phase="startup" level="10" type="calibrate">
40+
<param name="target">left_leg-mc_wrapper</param>
41+
</action>
42+
43+
<action phase="interrupt1" level="1" type="park">
44+
<param name="target">left_leg-mc_wrapper</param>
45+
</action>
46+
47+
<action phase="interrupt3" level="1" type="abort" />
48+
49+
</device>
50+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
5+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="right_arm-calibrator" type="parametricCalibratorEth">
6+
<xi:include href="../general.xml" />
7+
8+
<group name="GENERAL">
9+
<param name="joints">16</param> <!-- the number of joints of the robot part -->
10+
<param name="deviceName"> Right_Arm_Calibrator </param>
11+
</group>
12+
<!-- joint logical number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -->
13+
<group name="HOME">
14+
<param name="positionHome"> -30 30 0 45 0 0 0 35 65 0 0 0 0 0 0 0 </param>
15+
<param name="velocityHome"> 10 10 10 10 30 30 30 60 30 30 30 30 30 30 30 30 </param>
16+
</group>
17+
18+
19+
<group name="CALIBRATION">
20+
<param name="calibrationType"> 12 12 12 12 5 12 12 7 7 6 6 6 6 6 6 6 </param>
21+
<param name="calibration1"> 15487 35839 24287 31807 1500 59151 57071 0 0 0 0 0 0 0 0 0 </param>
22+
<param name="calibration2"> 0 0 0 0 16384 0 0 0 0 9102 9102 9102 9102 9102 9102 10000 </param>
23+
<param name="calibration3"> 0 0 0 0 0 0 0 0 0 -1 1 -1 1 -1 1 1 </param>
24+
<param name="calibration4"> 0 0 0 0 0 0 0 2770 1030 255 510 255 510 248 510 764 </param>
25+
<param name="calibration5"> 0 0 0 0 0 0 0 3065 3146 29 0 0 11 16 0 150 </param>
26+
<param name="calibrationZero"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </param>
27+
<param name="calibrationDelta"> -0.7 -1.47 0 -6.95 0 -4.5 -8.4 0 0 0 0 0 0 0 0 0 </param>
28+
29+
<param name="startupPosition"> -35 30 0 50 0 0 0 25 30 0 0 0 0 0 0 0 </param>
30+
<param name="startupVelocity"> 10 10 10 10 30 30 30 60 100 100 100 100 100 100 100 100 </param>
31+
<param name="startupMaxPwm"> 2000 2000 2000 2000 1500 0 0 0 0 0 0 0 0 0 0 0 </param>
32+
<param name="startupPosThreshold"> 2 2 2 2 90 90 90 90 90 90 90 90 90 90 90 90 </param>
33+
</group>
34+
35+
36+
<param name="CALIB_ORDER">(0 1 2 3) (4) (5 6 7) (8 9 11 13) (10 12 14 15) </param>
37+
38+
<action phase="startup" level="10" type="calibrate">
39+
<param name="target">right_arm-mc_wrapper</param>
40+
</action>
41+
42+
<action phase="interrupt1" level="1" type="park">
43+
<param name="target">right_arm-mc_wrapper</param>
44+
</action>
45+
46+
<action phase="interrupt3" level="1" type="abort" />
47+
48+
</device>
49+

0 commit comments

Comments
 (0)