diff --git a/iCubGenova09/calibrators/face-calib.xml b/iCubGenova09/calibrators/face-calib.xml index 8907613d39..9e22bb918b 100644 --- a/iCubGenova09/calibrators/face-calib.xml +++ b/iCubGenova09/calibrators/face-calib.xml @@ -21,7 +21,7 @@ 12 - -25108 + -2800 0 0 diff --git a/iCubGenova09/calibrators/head-calib.xml b/iCubGenova09/calibrators/head-calib.xml index e9093fcdb7..60f6ac19f7 100644 --- a/iCubGenova09/calibrators/head-calib.xml +++ b/iCubGenova09/calibrators/head-calib.xml @@ -20,7 +20,7 @@ 12 12 12 12 5 5 - 19567 53471 63631 543 2000 2000 + 19567 53471 4175 543 2000 2000 0 0 0 0 8192 8192 0 0 0 0 0 0 diff --git a/iCubGenova09/calibrators/left_arm-calib.xml b/iCubGenova09/calibrators/left_arm-calib.xml index 185ed3055e..653f3ce4c2 100644 --- a/iCubGenova09/calibrators/left_arm-calib.xml +++ b/iCubGenova09/calibrators/left_arm-calib.xml @@ -21,8 +21,8 @@ -54795 19668 44679 53215 -1500 -8335 10671 0 0 0 0 0 0 0 0 0 0 0 0 0 16384 0 0 0 0 9102 9102 9102 9102 9102 9102 10000 0 0 0 0 0 0 0 0 0 -1 1 -1 1 -1 1 1 - 0 0 0 0 0 0 0 2140 448 240 484 243 483 255 480 691 - 0 0 0 0 0 0 0 2400 2712 0 9 15 8 20 45 106 + 0 0 0 0 0 0 0 2045 448 240 484 243 483 255 480 700 + 0 0 0 0 0 0 0 2140 2712 0 9 15 8 20 45 110 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -32,8 +32,8 @@ 2 2 2 2 90 90 90 90 90 90 90 90 90 90 90 90 -(1) (0) (2) (3) (4) (5 6) (7) (8 9) (11 13) (10 12 14 15) - + (1) (0) (2) (3) (4) (5 6) (7) (8 9) (11 13) (10 12 14 15) + left_arm-mc_wrapper diff --git a/iCubGenova09/calibrators/left_leg-calib.xml b/iCubGenova09/calibrators/left_leg-calib.xml index 91945c6eee..b62afc0811 100644 --- a/iCubGenova09/calibrators/left_leg-calib.xml +++ b/iCubGenova09/calibrators/left_leg-calib.xml @@ -26,16 +26,14 @@ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - - -2.53 -4.738 1.254 0.0 0.0 -2.813 - + -2.763 -5.386 1.988 -5.423 6.360 -2.225 5 15 0 -20 0 0 10.0 10.0 10.0 10.0 10.0 10.0 3000 3000 3000 3000 3000 3000 2 2 2 2 2 2 - (0) (1) (2) (3) (4) (5) + (0) (1) (2) (3) (4) (5) left_leg-mc_wrapper diff --git a/iCubGenova09/calibrators/right_arm-calib.xml b/iCubGenova09/calibrators/right_arm-calib.xml index 691560ef11..b6a008ae02 100644 --- a/iCubGenova09/calibrators/right_arm-calib.xml +++ b/iCubGenova09/calibrators/right_arm-calib.xml @@ -22,18 +22,19 @@ 6576 -12912 -883 -47529 1500 36903 -12703 0 0 0 0 0 0 0 0 0 0 0 0 0 16384 0 0 0 0 9102 9102 9102 9102 9102 9102 10000 0 0 0 0 0 0 0 0 0 -1 1 -1 1 -1 1 1 - 0 0 0 0 0 0 0 2260 1470 242 510 255 510 255 510 748 - 0 0 0 0 0 0 0 2560 2350 25 40 18 30 0 30 120 + 0 0 0 0 0 0 0 2510 1470 255 510 255 510 200 510 748 + 0 0 0 0 0 0 0 2670 2350 22 40 18 30 10 30 120 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 - 0 0 -5.8 0 0 -5.5 -4 0 0 0 0 0 0 0 0 0 + 0 0 -5.8 0 0 -5.5 -4 10 0 0 0 0 0 0 0 0 - -35 30 0 45 0 0 0 25 45 0 0 0 0 0 0 0 + -35 30 0 45 0 0 15 25 45 10 0 0 0 0 0 0 10.0 10.0 10.0 10.0 30 30 30 60 100 100 100 100 100 100 100 100 8000 8000 8000 8000 1500 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 90 90 90 90 90 90 90 90 90 90 90 90 -(1) (0) (2) (3) (4) (5 6) (7) (8 9) (11 13) (10 12 14 15) + + (1) (0) (2) (3) (4) (5 6) (7) (8 9) (11 13) (10 12 14 15) right_arm-mc_wrapper diff --git a/iCubGenova09/calibrators/right_leg-calib.xml b/iCubGenova09/calibrators/right_leg-calib.xml index 8de5bc4a2e..542af714f4 100644 --- a/iCubGenova09/calibrators/right_leg-calib.xml +++ b/iCubGenova09/calibrators/right_leg-calib.xml @@ -18,23 +18,21 @@ 12 12 12 12 12 12 - -46203 -26675 -54991 28574 -21495 9657 + -44781 -26675 -54991 28574 -21495 9657 + 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 - - 10.890 -4.182 3.323 -5.416 0.0 -6.539 - + 1.902 -4.369 4.191 -5.082 -9.597 -6.451 5 15 0 -20.0 0 0 10.0 10.0 10.0 10.0 10.0 10.0 3000 3000 3000 3000 3000 3000 2 2 2 2 2 2 - (0) (1) (2) (3) (4) (5) + (0) (1) (2) (3) (4) (5) diff --git a/iCubGenova09/extra/JOINT_LIMITS.txt b/iCubGenova09/extra/JOINT_LIMITS.txt new file mode 100644 index 0000000000..0ec85181f9 --- /dev/null +++ b/iCubGenova09/extra/JOINT_LIMITS.txt @@ -0,0 +1,33 @@ +left hip pitch [-47.170, ...] +left hip roll [ ] +left hip yaw [-80.546 80.739] +left_knee [5.817, ...] +left_ankle_pitch [-47.060,....] +left_ankle_roll [-25.889 25.823] + +right hip pitch [-47.175, ...] +right hip yaw [-80.327 80.700] +right_knee [5.641, ...] +right_ankle_pitch [-46.329,] +right_ankle_roll [-27.598, 24.137] + + +left hip pitch +left hip roll +left hip yaw +left_knee +left_ankle_pitch +left_ankle_roll + + +right hip pitch +right hip roll +right hip yaw +right_knee +right_ankle_pitch +right_ankle_roll + + + +Delta = theta - theta_desired + diff --git a/iCubGenova09/extra/contexts/yarpmanager/cluster-config.xml b/iCubGenova09/extra/contexts/yarpmanager/cluster-config.xml index d6fcd57c80..40d6e6265a 100644 --- a/iCubGenova09/extra/contexts/yarpmanager/cluster-config.xml +++ b/iCubGenova09/extra/contexts/yarpmanager/cluster-config.xml @@ -5,7 +5,7 @@ -icub-console +icub-console icub-console-gui pi-ifeel icub-cuda diff --git a/iCubGenova09/hardware/mechanicals/right_leg-eb11-j0_2-mec.xml b/iCubGenova09/hardware/mechanicals/right_leg-eb11-j0_2-mec.xml index 6ad8881669..f681d68e41 100644 --- a/iCubGenova09/hardware/mechanicals/right_leg-eb11-j0_2-mec.xml +++ b/iCubGenova09/hardware/mechanicals/right_leg-eb11-j0_2-mec.xml @@ -13,7 +13,8 @@ 32000 32000 32000 1000.0 1000.0 1000.0 100.00 -100.00 100.0 - 1 1 1 + 1 1 1 + 1 1 1 "MOOG_C2900580" "MOOG_C2900576" "MOOG_C2900576" @@ -22,8 +23,8 @@ - 114 118 80.5 - -47 -20 -80.5 + 114 118 80.7 + -47 -16 -80.5 0 0 0 0 0 0 diff --git a/iCubGenova09/hardware/mechanicals/right_leg-eb12-j3_5-mec.xml b/iCubGenova09/hardware/mechanicals/right_leg-eb12-j3_5-mec.xml index c7465be58e..80bd459066 100644 --- a/iCubGenova09/hardware/mechanicals/right_leg-eb12-j3_5-mec.xml +++ b/iCubGenova09/hardware/mechanicals/right_leg-eb12-j3_5-mec.xml @@ -12,21 +12,22 @@ 32000 32000 32000 1000.0 1000.0 1000.0 100.0 100.0 100.0 - 1 1.0 1.0 + + 1 1 1 1 1 1 "MOOG_C2900580" "MOOG_C2900580" "MOOG_C2900575" 0 - 6 45 25 - -80 -45 -25 - 0 0 0 - 0 0 0 + 6 38 25 + -80 -47 -25 + 0 0 0 + 0 0 0 - 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/iCubGenova09/hardware/motorControl/face-eb22-j0-mc.xml b/iCubGenova09/hardware/motorControl/face-eb22-j0-mc.xml index a805716a13..5ee2a2aad4 100644 --- a/iCubGenova09/hardware/motorControl/face-eb22-j0-mc.xml +++ b/iCubGenova09/hardware/motorControl/face-eb22-j0-mc.xml @@ -47,9 +47,9 @@ pwm metric_units machine_units - 600.00 + 700.00 0.0 - 100.0 + 700.0 3360 3360 0 diff --git a/iCubGenova09/hardware/motorControl/left_arm-eb26-j12_15-mc.xml b/iCubGenova09/hardware/motorControl/left_arm-eb26-j12_15-mc.xml index bc91d76239..8dca7ad2e5 100644 --- a/iCubGenova09/hardware/motorControl/left_arm-eb26-j12_15-mc.xml +++ b/iCubGenova09/hardware/motorControl/left_arm-eb26-j12_15-mc.xml @@ -47,9 +47,9 @@ pwm metric_units machine_units - -500 500 500 -200 + -500 300 500 -200 0 0 0 0 - -50 50 50 -20 + -50 50 50 -30 3360 3360 3360 3360 3360 3360 3360 3360 0 0 0 0 diff --git a/iCubGenova09/hardware/motorControl/left_leg-eb7-j0_2-mc.xml b/iCubGenova09/hardware/motorControl/left_leg-eb7-j0_2-mc.xml index a692a68aab..9c355a47a5 100644 --- a/iCubGenova09/hardware/motorControl/left_leg-eb7-j0_2-mc.xml +++ b/iCubGenova09/hardware/motorControl/left_leg-eb7-j0_2-mc.xml @@ -13,7 +13,7 @@ 110 100 70 - -40 -5 -70 + -40 -15 -70 240 240 240 15000 15000 5000 20000 20000 10000 diff --git a/iCubGenova09/hardware/motorControl/right_arm-eb28-j8_11-mc.xml b/iCubGenova09/hardware/motorControl/right_arm-eb28-j8_11-mc.xml index 02f5984861..064d3cb61c 100644 --- a/iCubGenova09/hardware/motorControl/right_arm-eb28-j8_11-mc.xml +++ b/iCubGenova09/hardware/motorControl/right_arm-eb28-j8_11-mc.xml @@ -48,7 +48,7 @@ pwm metric_units machine_units - -500 500 -500 500 + -150 150 -500 500 0 0 0 0 -50 50 -50 50 diff --git a/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc.xml b/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc.xml index 274e77dd81..609338f0fc 100644 --- a/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc.xml +++ b/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc.xml @@ -13,7 +13,7 @@ 110 100 70 - -40 -5 -70 + -40 -15 -70 240 240 240 15000 15000 5000 20000 20000 10000 diff --git a/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc_service.xml b/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc_service.xml index 84c7d40368..e880336e96 100644 --- a/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc_service.xml +++ b/iCubGenova09/hardware/motorControl/right_leg-eb11-j0_2-mc_service.xml @@ -28,7 +28,7 @@ - + foc foc foc @@ -39,7 +39,8 @@ amo amo amo CONN:P6 CONN:P7 CONN:P8 atjoint atjoint atjoint - -1048576 -1048576 -1048576 + + -1048576 -1048576 -1048576 0.703 0.703 0.703 diff --git a/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc.xml b/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc.xml index 7ed4d4ebb4..eba4c88c06 100644 --- a/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc.xml +++ b/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc.xml @@ -12,7 +12,7 @@ 3 32 23 - -70 -43 -23 + -70 -45 -23 240 240 240 10000 10000 10000 15000 15000 15000 diff --git a/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc_service.xml b/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc_service.xml index d18904d24f..d6aec1c1e0 100644 --- a/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc_service.xml +++ b/iCubGenova09/hardware/motorControl/right_leg-eb12-j3_5-mc_service.xml @@ -38,8 +38,9 @@ amo amo amo CONN:P7 CONN:P6 CONN:P8 atjoint atjoint atjoint - 1048576 -1048576 1048576 - 0.703 0.703 0.703 + + 1048576 -1048576 1048576 + 0.703 0.703 0.703 diff --git a/iCubGenova09/icubEyes.ini b/iCubGenova09/icubEyes.ini index 98d1678af1..2e43e322c5 100644 --- a/iCubGenova09/icubEyes.ini +++ b/iCubGenova09/icubEyes.ini @@ -3,32 +3,32 @@ projection pinhole drawCenterCross 0 -w 320 -h 240 -fx 234.305 -fy 234.105 -cx 178.308 -cy 126.216 -k1 -0.392689 -k2 0.128257 -p1 -0.000703228 -p2 0.00141878 +w 1024 +h 768 +fx 746.539 +fy 751.274 +cx 559.26 +cy 355.631 +k1 -0.467452 +k2 0.245837 +p1 0.00379421 +p2 0.00670889 [CAMERA_CALIBRATION_LEFT] projection pinhole drawCenterCross 0 -w 320 -h 240 -fx 233.625 -fy 233.556 -cx 177.975 -cy 136.554 -k1 -0.38994 -k2 0.126949 -p1 0.00016208 -p2 0.00177482 +w 1024 +h 768 +fx 726.389 +fy 728.673 +cx 548.169 +cy 371.598 +k1 -0.434368 +k2 0.219995 +p1 0.00347889 +p2 -0.0014471 [CAMERA_CALIBRATION_CONFIGURATION_LEFT] @@ -58,6 +58,6 @@ boardSize 0.09241 numberOfPairs 30 [STEREO_DISPARITY] -HN (0.997735 0.0572752 0.0352903 -0.0673139 -0.0589052 0.997155 0.0470234 0.001888 -0.0324966 -0.0489957 0.99827 0.00142079 0 0 0 1) -QL ( 0.000000 0.000000 0.000000 -0.000096 0.000192 0.003068 0.000000 0.001294) -QR ( 0.000000 0.000000 0.000000 -0.000096 0.000192 0.003068 0.000000 0.000431) +HN (0.998748 0.0418866 0.0273391 -0.232222 -0.0416763 0.999097 -0.00821842 -0.0045673 -0.0276587 0.00706874 0.999592 0.014123 0 0 0 1) +QL ( 0.000000 0.000000 0.000000 0.000000 0.000000 -0.004602 0.000000 -0.000863) +QR ( 0.000000 0.000000 0.000000 0.000000 0.000000 -0.004602 0.000000 -0.000863) diff --git a/iCubGenova09/icub_left_leg.xml b/iCubGenova09/icub_left_leg.xml index ff551ca1ab..32e88472f0 100644 --- a/iCubGenova09/icub_left_leg.xml +++ b/iCubGenova09/icub_left_leg.xml @@ -9,10 +9,9 @@ - - - - + + + diff --git a/iCubGenova09/test_left_arm.xml b/iCubGenova09/test_left_arm.xml index 0052b4eb07..4a99289f24 100644 --- a/iCubGenova09/test_left_arm.xml +++ b/iCubGenova09/test_left_arm.xml @@ -26,10 +26,9 @@ - - +