Skip to content

Commit 3ee19d2

Browse files
committed
Merge branch 'master' into devel
2 parents c9df1e3 + 2db75cd commit 3ee19d2

16 files changed

+216
-147
lines changed

iCubGenova02/calibrators/face-calib.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
<!-- joint name eyelids -->
2121
<group name="CALIBRATION">
2222
<param name="calibrationType"> 12 </param>
23-
<param name="calibration1"> -7643 </param>
23+
<param name="calibration1"> -11172 </param>
2424
<param name="calibration2"> 0 </param>
2525
<param name="calibration3"> 0 </param>
2626

2727
<param name="calibration4"> 0 </param>
2828
<param name="calibration5"> 0 </param>
2929

3030
<param name="calibrationZero"> 0 </param>
31-
<param name="calibrationDelta"> -8 </param>
31+
<param name="calibrationDelta"> 5 </param>
3232

3333
<param name="startupPosition"> 0 </param>
3434
<param name="startupVelocity"> 10 </param>

iCubGenova02/calibrators/left_arm-calib.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</group>
3434

3535
<param name="CALIB_ORDER">(0 1 2 3) (4) (5 6) (7) (8 9 11 13) (10 12 14 15) </param>
36+
3637

3738
<action phase="startup" level="10" type="calibrate">
3839
<param name="target">left_arm-mc_wrapper</param>

iCubGenova02/estimators/wholebodydynamics.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44

55
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="wholebodydynamics" type="wholebodydynamics">
6+
<param name="portPrefix">/icub02/wholebodydynamics</param>
67
<param name="axesNames">(torso_pitch,torso_roll,torso_yaw,neck_pitch, neck_roll,neck_yaw,l_shoulder_pitch,l_shoulder_roll,l_shoulder_yaw,l_elbow,r_shoulder_pitch,r_shoulder_roll,r_shoulder_yaw,r_elbow,l_hip_pitch,l_hip_roll,l_hip_yaw,l_knee,l_ankle_pitch,l_ankle_roll,r_hip_pitch,r_hip_roll,r_hip_yaw,r_knee,r_ankle_pitch,r_ankle_roll)</param>
78
<param name="modelFile">model.urdf</param>
89
<param name="fixedFrameGravity">(0,0,-9.81)</param>
@@ -42,10 +43,10 @@
4243
</group>
4344

4445
<group name="WBD_OUTPUT_EXTERNAL_WRENCH_PORTS">
45-
<param name="/wholeBodyDynamics/left_leg/cartesianEndEffectorWrench:o">(l_lower_leg,l_lower_leg,root_link)</param>
46-
<param name="/wholeBodyDynamics/left_foot/cartesianEndEffectorWrench:o">(l_foot,l_sole,l_sole)</param>
47-
<param name="/wholeBodyDynamics/right_leg/cartesianEndEffectorWrench:o">(r_lower_leg,r_lower_leg,root_link)</param>
48-
<param name="/wholeBodyDynamics/right_foot/cartesianEndEffectorWrench:o">(r_foot,r_sole,r_sole)</param>
46+
<param name="/icub02/wholeBodyDynamics/left_leg/cartesianEndEffectorWrench:o">(l_lower_leg,l_lower_leg,root_link)</param>
47+
<param name="/icub02/wholeBodyDynamics/left_foot/cartesianEndEffectorWrench:o">(l_foot,l_sole,l_sole)</param>
48+
<param name="/icub02/wholeBodyDynamics/right_leg/cartesianEndEffectorWrench:o">(r_lower_leg,r_lower_leg,root_link)</param>
49+
<param name="/icub02/wholeBodyDynamics/right_foot/cartesianEndEffectorWrench:o">(r_foot,r_sole,r_sole)</param>
4950
</group>
5051

5152
<action phase="startup" level="15" type="attach">

iCubGenova02/general.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<group name="GENERAL">
77
<param name="skipCalibration"> false </param>
8-
<param name="useRawEncoderData"> false </param>
8+
<param name="useRawEncoderData"> false </param>
99
<param name="useLimitedPWM"> false </param>
1010
<param name="verbose"> false </param>
1111
</group>

iCubGenova02/hardware/motorControl/face-eb22-j0-mc.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
<param name="outputType"> pwm </param>
4848
<param name="fbkControlUnits"> metric_units </param>
4949
<param name="outputControlUnits"> machine_units </param>
50-
<param name="kp"> +1200.00 </param>
50+
<param name="kp"> 600.00 </param>
5151
<param name="kd"> 0.0 </param>
52-
<param name="ki"> 0.0 </param>
52+
<param name="ki"> 100.0 </param>
5353
<param name="maxOutput"> 3360 </param>
5454
<param name="maxInt"> 3360 </param>
5555
<param name="stictionUp"> 0 </param>

iCubGenova02/hardware/motorControl/left_arm-eb2-j4_15-mc.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
<param name="outputType"> pwm </param>
4848
<param name="fbkControlUnits"> metric_units </param>
4949
<param name="outputControlUnits"> machine_units </param>
50-
<param name="kp"> -200 1000 -1000 -200 -500 -8000 -8000 -8000 8000 -8000 -8000 1200 </param>
51-
<param name="kd"> -1000 10000 -10000 -200 -32000 -32000 -32000 -32000 32000 -32000 -32000 12500 </param>
50+
<param name="kp"> -200 1000 -1000 -500 -500 -8000 -8000 -8000 8000 -8000 -8000 1200 </param>
51+
<param name="kd"> -1000 10000 -1000 -1000 -32000 -32000 -32000 -32000 32000 -32000 -32000 12500 </param>
5252
<param name="ki"> -1 1 -1 -1 -1 -5 -5 -5 5 -5 -5 1 </param>
5353
<param name="maxOutput"> 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 </param>
5454
<param name="maxInt"> 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 </param>

iCubGenova02/hardware/motorControl/right_arm-eb4-j4_15-mc.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
<param name="outputType"> pwm </param>
4848
<param name="fbkControlUnits"> metric_units </param>
4949
<param name="outputControlUnits"> machine_units </param>
50-
<param name="kp"> -200 1000 -1000 200 -500 -8000 8000 -8000 -8000 -8000 8000 -1200 </param>
51-
<param name="kd"> -1000 10000 -10000 200 -32000 -32000 32000 -32000 -32000 -32000 32000 -12500 </param>
50+
<param name="kp"> -200 1000 -1000 500 -500 -8000 8000 -8000 -8000 -8000 8000 -1200 </param>
51+
<param name="kd"> -1000 10000 -10000 1000 -32000 -32000 32000 -32000 -32000 -32000 32000 -12500 </param>
5252
<param name="ki"> -1 1 -1 1 -1 -5 5 -5 -5 -5 5 -1 </param>
5353
<param name="maxOutput"> 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 </param>
5454
<param name="maxInt"> 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 1333 </param>

iCubGenova02/icub_all.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@
5252
<xi:include href="hardware/inertials/head-inertial.xml" />
5353

5454
<!-- IMU -->
55-
<!-- it is the imu bosch bno055 inside the rfe board
55+
<!-- it is the imu bosch bno055 inside the rfe board -->
5656
<xi:include href="hardware/inertials/head-imu-rfe.xml" />
5757
<xi:include href="wrappers/inertials/head-imu-rfe_wrapper.xml" />
58-
-->
5958

6059

6160
<!-- ANALOG SENSOR MAIS -->
Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="UTF-8" ?>
22
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3-
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="face-mc_wrapper" type="controlboardwrapper2">
4-
<paramlist name="networks">
5-
<elem name="FirstSetOfJoints">( 0 0 0 0 )</elem>
6-
</paramlist>
7-
<param name="period"> 10 </param>
8-
<param name="name"> /icub/face </param>
9-
<param name="ports"> face </param>
10-
<param name="joints"> 1 </param>
11-
<action phase="startup" level="5" type="attach">
3+
4+
5+
6+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="face-mc_wrapper" type="controlboardwrapper2">
127
<paramlist name="networks">
13-
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-mc.xml file -->
14-
<elem name="FirstSetOfJoints"> face-eb22-j0-mc </elem>
15-
<elem name="Calibrator"> face-calibrator </elem>
8+
<elem name="FirstSetOfJoints"> (0 0 0 0) </elem>
9+
1610
</paramlist>
17-
</action>
18-
<action phase="shutdown" level="5" type="detach" />
19-
</device>
11+
12+
<param name="period"> 10 </param>
13+
<param name="name"> /icub/face </param>
14+
<param name="ports"> face </param>
15+
<param name="joints"> 1 </param>
16+
17+
<action phase="startup" level="5" type="attach">
18+
<paramlist name="networks">
19+
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-mc.xml file -->
20+
<elem name="FirstSetOfJoints"> face-eb22-j0-mc </elem>
21+
<elem name="Calibrator"> face-calibrator </elem>
22+
</paramlist>
23+
</action>
24+
25+
<action phase="shutdown" level="5" type="detach" />
26+
27+
</device>
28+
29+
Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="UTF-8" ?>
22
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3-
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="face-no-eyelids-mc_wrapper" type="controlboardwrapper2">
4-
<paramlist name="networks">
5-
<elem name="FirstSetOfJoints">( 0 0 0 0 )</elem>
6-
<elem name="SecondSetOfJoints">( 1 4 0 3 )</elem>
7-
</paramlist>
8-
<param name="period"> 10 </param>
9-
<param name="name"> /icub/face </param>
10-
<param name="ports"> face </param>
11-
<param name="joints"> 5 </param>
12-
<action phase="startup" level="5" type="attach">
3+
4+
5+
6+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="face-no-eyelids-mc_wrapper" type="controlboardwrapper2">
137
<paramlist name="networks">
14-
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-mc.xml file -->
15-
<elem name="FirstSetOfJoints"> face-eb22-j0_1-mc </elem>
16-
<elem name="SecondSetOfJoints"> face-eb23-j2_5-mc </elem>
17-
<elem name="Calibrator"> face-no-eyelids-calibrator </elem>
8+
<elem name="FirstSetOfJoints"> (0 0 0 0) </elem>
9+
<elem name="SecondSetOfJoints"> (1 4 0 3) </elem>
1810
</paramlist>
19-
</action>
20-
<action phase="shutdown" level="5" type="detach" />
21-
</device>
11+
12+
<param name="period"> 10 </param>
13+
<param name="name"> /icub/face </param>
14+
<param name="ports"> face </param>
15+
<param name="joints"> 5 </param>
16+
17+
<action phase="startup" level="5" type="attach">
18+
<paramlist name="networks">
19+
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-mc.xml file -->
20+
<elem name="FirstSetOfJoints"> face-eb22-j0_1-mc </elem>
21+
<elem name="SecondSetOfJoints"> face-eb23-j2_5-mc </elem>
22+
<elem name="Calibrator"> face-no-eyelids-calibrator </elem>
23+
</paramlist>
24+
</action>
25+
26+
<action phase="shutdown" level="5" type="detach" />
27+
28+
</device>
29+
30+

0 commit comments

Comments
 (0)