Skip to content

Commit f3eaaee

Browse files
committed
ergoCubSN002: adjust fingers limits for the left hand
The left hand has the mk5.2 coupling law: https://icub-tech-iit.github.io/documentation/hands/hands_mk5_coupling/?h=hand+mk#mk52-coupling-variables
1 parent 8eaf626 commit f3eaaee

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

ergoCubSN002/calibrators/left_arm-calib.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<group name="CALIBRATION">
1919
<param name="calibrationType"> 10 10 10 10 12 12 12 12 14 12 14 14 14 </param>
2020
<param name="calibration1"> 4000 -3000 -3000 4000 9385 30845 3031 0 300 0 300 300 300 </param>
21-
<param name="calibration2"> 0 0 0 0 0 0 0 0 0 0 0 0 0 </param>
21+
<param name="calibration2"> 0 0 0 0 0 0 0 0 728 0 1092 1092 1092 </param>
2222
<param name="calibration3"> 0 0 0 0 0 0 0 0 0 0 0 0 1 </param>
2323
<param name="calibration4"> 0 0 0 0 0 0 0 0 0 0 32768 0 16384 </param>
2424
<param name="calibration5"> 0 0 0 0 0 0 0 0 17603 0 56397 5625 47131 </param>

ergoCubSN002/hardware/mechanicals/left_arm-eb23-j7_10-mec.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
</group>
2424

2525
<group name="LIMITS">
26-
<param name="hardwareJntPosMax"> 90 90 90 90 </param>
27-
<param name="hardwareJntPosMin"> 0 0 0 0 </param>
28-
<param name="rotorPosMin"> -31500 -31500 -31500 -31500 </param>
29-
<param name="rotorPosMax"> -100 -100 -100 -100 </param>
26+
<param name="hardwareJntPosMax"> 98 98 98 98 </param>
27+
<param name="hardwareJntPosMin"> 4 6 6 6 </param>
28+
<param name="rotorPosMin"> -34291 -34291 -34291 -34291 </param>
29+
<param name="rotorPosMax"> -1496 -2193 -2193 -2193 </param>
3030
</group>
3131

3232
<group name="COUPLINGS">

ergoCubSN002/hardware/motorControl/right_arm-eb22-j7_10-mc.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
<xi:include href="../motorControl/right_arm-eb22-j7_10-mc_service.xml" />
1212

1313
<!-- joint number 0 1 2 3 -->
14-
<!-- joint name thumb index medium pinky -->
14+
<!-- joint name thumb index medium pinky -->
1515
<group name="LIMITS">
16-
<param name="jntPosMin"> 0 0 0 0 </param>
17-
<param name="jntPosMax"> 90 90 90 90 </param>
16+
<param name="jntPosMin"> 4 6 6 6 </param>
17+
<param name="jntPosMax"> 98 98 98 98 </param>
1818
<param name="jntVelMax"> 1000 1000 1000 1000 </param>
1919
<param name="motorOverloadCurrents"> 2000 2000 2000 2000 </param>
2020
<param name="motorNominalCurrents"> 1100 1100 1100 1100 </param>
21-
<param name="motorPeakCurrents"> 1500 1500 1500 1500 </param>
21+
<param name="motorPeakCurrents"> 1500 1500 1500 1500 </param>
2222
<param name="motorPwmLimit"> 3360 3360 3360 3360 </param>
23-
</group>
24-
23+
</group>
24+
2525
<group name="TIMEOUTS">
2626
<param name="velocity"> 100 100 100 100 </param>
2727
</group>
@@ -30,7 +30,7 @@
3030
<param name="stiffness"> 0.0 0.0 0.0 0.0 </param>
3131
<param name="damping"> 0.0 0.0 0.0 0.0 </param>
3232
</group>
33-
33+
3434
<group name="CONTROLS">
3535
<param name="positionControl"> POS_PID_DEFAULT POS_PID_DEFAULT POS_PID_DEFAULT POS_PID_DEFAULT </param>
3636
<param name="velocityControl"> POS_PID_DEFAULT POS_PID_DEFAULT POS_PID_DEFAULT POS_PID_DEFAULT </param>
@@ -42,7 +42,7 @@
4242

4343

4444
<!-- default position PID: begin -->
45-
45+
4646
<group name="POS_PID_DEFAULT">
4747
<param name="controlLaw"> minjerk </param>
4848
<param name="outputType"> pwm </param>
@@ -61,14 +61,14 @@
6161
<!-- default position PID: end -->
6262

6363

64-
<!-- other default PIDs: begin -->
64+
<!-- other default PIDs: begin -->
6565
<!-- other default PIDs: end -->
6666

6767

68-
<!-- custom PIDs: begin -->
68+
<!-- custom PIDs: begin -->
6969
<!-- custom PIDs: end -->
70-
70+
7171
</device>
7272

7373

74-
74+

0 commit comments

Comments
 (0)