diff --git a/ergoCubSN000/calibrators/left_arm-calib.xml b/ergoCubSN000/calibrators/left_arm-calib.xml
index 4b3f5185ab..03624bf540 100644
--- a/ergoCubSN000/calibrators/left_arm-calib.xml
+++ b/ergoCubSN000/calibrators/left_arm-calib.xml
@@ -30,7 +30,7 @@
- (4 5 6) (2) (0) (1) (3) (7 8 9 10) (11 12)
+ (4 5 6) (3) (2) (0) (1) (7 8 9 10) (11 12)
left_arm-mc_remapper
diff --git a/ergoCubSN000/calibrators/right_arm-calib.xml b/ergoCubSN000/calibrators/right_arm-calib.xml
index b08db65074..4e97a381d4 100644
--- a/ergoCubSN000/calibrators/right_arm-calib.xml
+++ b/ergoCubSN000/calibrators/right_arm-calib.xml
@@ -17,7 +17,7 @@
10 10 10 10 12 12 12 12 12 12 12 12 12
- -4000 3000 3000 -4000 6109 28993 36030 0 0 0 0 0 0
+ -4000 3000 3000 -4000 19023 28993 36030 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
@@ -30,7 +30,8 @@
2 2 2 2 2 2 2 90 90 90 90 90 90
- (4 5 6) (2) (0) (1) (3) (7 8 9 10) (11 12)
+
+ (3) (2) (0) (1) (7 8) (11 12)
right_arm-mc_remapper
diff --git a/ergoCubSN000/extra/contexts/yarpmanager/cluster-config.xml b/ergoCubSN000/extra/contexts/yarpmanager/cluster-config.xml
index 40d6e6265a..186363f61b 100644
--- a/ergoCubSN000/extra/contexts/yarpmanager/cluster-config.xml
+++ b/ergoCubSN000/extra/contexts/yarpmanager/cluster-config.xml
@@ -1,17 +1,15 @@
-
-
-
-
-
-
-icub-console
-icub-console-gui
-pi-ifeel
-icub-cuda
-icub-head
-icub-virtualizer
-icub29
+
+
+
+
+
+
+ ergocub-laptop
+ ergocub-torso
+ ergocub-head
+ icub-console-gui
+ icub-virtualizer
diff --git a/ergoCubSN000/hardware/motorControl/head-eb20-j0_1-mc.xml b/ergoCubSN000/hardware/motorControl/head-eb20-j0_1-mc.xml
index 7f4acc0d5e..1cb1d83ae3 100644
--- a/ergoCubSN000/hardware/motorControl/head-eb20-j0_1-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/head-eb20-j0_1-mc.xml
@@ -47,9 +47,9 @@
pwm
metric_units
machine_units
- -512 +535
- -17 +14
- -1621 +1670
+ -150 +150
+ 0 0
+ -15 +15
3360 3360
3360 3360
0 0
diff --git a/ergoCubSN000/hardware/motorControl/left_arm-eb2-j0_1-mc.xml b/ergoCubSN000/hardware/motorControl/left_arm-eb2-j0_1-mc.xml
index 72ca590815..3f16974819 100644
--- a/ergoCubSN000/hardware/motorControl/left_arm-eb2-j0_1-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/left_arm-eb2-j0_1-mc.xml
@@ -33,7 +33,7 @@
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
- TRQ_PID_DEFAULT TRQ_PID_DEFAULT
+ TRQ_PID_OUTPUT_CURR TRQ_PID_OUTPUT_CURR
2FOC_CUR_CONTROL 2FOC_CUR_CONTROL
2FOC_VEL_CONTROL 2FOC_VEL_CONTROL
@@ -112,12 +112,43 @@
+
+ torque
+ current
+ metric_units
+ machine_units
+ 150 100
+ 0 0
+ 0 0
+ 2500 2500
+ 200 200
+ 0 0
+ 0 0
+ 0 0
+ 1 1
+ 0.0001 0.0001
+ 0 0
+ 250 200
+
0.0049 0.0049
+
+
+ 1 1
+ 0 0
+ 0 0
+ 0 0
+ 0.0001 0.0001
+ 0.01 0.01
+ 10 10
+ 0.001 0.001
+ 0.000099 0.000099
+
+
diff --git a/ergoCubSN000/hardware/motorControl/left_arm-eb31-j4_6-mc.xml b/ergoCubSN000/hardware/motorControl/left_arm-eb31-j4_6-mc.xml
index 7c60b84210..7382b37177 100644
--- a/ergoCubSN000/hardware/motorControl/left_arm-eb31-j4_6-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/left_arm-eb31-j4_6-mc.xml
@@ -15,9 +15,9 @@
90 50 30
-90 -60 -30
90 90 90
- 1000 1000 1000
- 1500 1500 1500
- 2000 2000 2000
+ 300 300 300
+ 360 360 360
+ 450 450 450
16000 16000 16000
@@ -47,9 +47,9 @@
current
metric_units
machine_units
- -67 -67 -67
- -11 -11 -11
- -294 -294 -294
+ -50 -50 -50
+ -8 -8 -8
+ -220 -220 -220
500 500 500
200 200 200
0 0 0
diff --git a/ergoCubSN000/hardware/motorControl/left_arm-eb4-j2_3-mc.xml b/ergoCubSN000/hardware/motorControl/left_arm-eb4-j2_3-mc.xml
index c23c29335d..f44dc56212 100644
--- a/ergoCubSN000/hardware/motorControl/left_arm-eb4-j2_3-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/left_arm-eb4-j2_3-mc.xml
@@ -33,7 +33,7 @@
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
- TRQ_PID_DEFAULT TRQ_PID_DEFAULT
+ TRQ_PID_OUTPUT_CURR TRQ_PID_OUTPUT_CURR
2FOC_CUR_CONTROL 2FOC_CUR_CONTROL
2FOC_VEL_CONTROL 2FOC_VEL_CONTROL
@@ -112,12 +112,43 @@
+
+ torque
+ current
+ metric_units
+ machine_units
+ 0 -200
+ 0 0
+ 0 0
+ 2500 2500
+ 200 200
+ 0 0
+ 0 0
+ 0 0
+ 1 1
+ 0.0001 -0.0002
+ 0 0
+ 50 -300
+
0.0049 0.0049
+
+
+ 1 1
+ 0 0
+ 0 0
+ 0 0
+ 0.0001 0.0001
+ 0.01 0.01
+ 10 10
+ 0.001 0.001
+ 0.000099 0.000099
+
+
diff --git a/ergoCubSN000/hardware/motorControl/left_leg-eb8-j0_3-mc.xml b/ergoCubSN000/hardware/motorControl/left_leg-eb8-j0_3-mc.xml
index aa547f2ef7..3181802275 100644
--- a/ergoCubSN000/hardware/motorControl/left_leg-eb8-j0_3-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/left_leg-eb8-j0_3-mc.xml
@@ -117,18 +117,18 @@
current
metric_units
machine_units
- -0.0 0.0 -0.0 -0.0
+ -100 150 -0.0 -350
0 0 0 0
- -0 0 -0 -0
+ -10 25 -0 -100
2500 2500 2500 2500
200 200 200 200
0 0 0 0
0 0 0 0
0 0 0 0
1 1 1 1
- -0.0 0.0 -0.0 -0.0
+ -0.0001 0.0001 -0.0005 -0.0003
0 0 0 0
- -50 50 -50 -50
+ -40 50 -150 -110
diff --git a/ergoCubSN000/hardware/motorControl/left_leg-eb9-j4_5-mc.xml b/ergoCubSN000/hardware/motorControl/left_leg-eb9-j4_5-mc.xml
index 37976f7877..c297db0e3f 100644
--- a/ergoCubSN000/hardware/motorControl/left_leg-eb9-j4_5-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/left_leg-eb9-j4_5-mc.xml
@@ -116,18 +116,18 @@
current
metric_units
machine_units
- -1000 -1000
- 0 0
- -500 -1000
- 2500 2500
- 200 200
+ -0 -50
+ 0 0
+ -0 0
+ 2500 2500
+ 200 200
0 0
0 0
0 0
1 1
- -0.0009 -0.0003
+ -0.0009 -0.0003
0 0
- -128.81 -227.739
+ -128.81 -160
diff --git a/ergoCubSN000/hardware/motorControl/right_arm-eb1-j0_1-mc.xml b/ergoCubSN000/hardware/motorControl/right_arm-eb1-j0_1-mc.xml
index 6f6b53e96b..e84f207d7b 100644
--- a/ergoCubSN000/hardware/motorControl/right_arm-eb1-j0_1-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/right_arm-eb1-j0_1-mc.xml
@@ -34,7 +34,7 @@
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
- TRQ_PID_DEFAULT TRQ_PID_DEFAULT
+ TRQ_PID_OUTPUT_CURR TRQ_PID_OUTPUT_CURR
2FOC_CUR_CONTROL 2FOC_CUR_CONTROL
2FOC_VEL_CONTROL 2FOC_VEL_CONTROL
@@ -114,12 +114,43 @@
+
+ torque
+ current
+ metric_units
+ machine_units
+ -150 -100
+ 0 0
+ 0 0
+ 2500 2500
+ 200 200
+ 0 0
+ 0 0
+ 0 0
+ 1 1
+ -0.0001 -0.0001
+ 0 0
+ -250 -200
+
0.0049 0.0049
+
+
+ 1 1
+ 0 0
+ 0 0
+ 0 0
+ 0.0001 0.0001
+ 0.01 0.01
+ 10 10
+ 0.001 0.001
+ 0.000099 0.000099
+
+
diff --git a/ergoCubSN000/hardware/motorControl/right_arm-eb3-j2_3-mc.xml b/ergoCubSN000/hardware/motorControl/right_arm-eb3-j2_3-mc.xml
index 6a1d37cf98..2b511d7bac 100644
--- a/ergoCubSN000/hardware/motorControl/right_arm-eb3-j2_3-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/right_arm-eb3-j2_3-mc.xml
@@ -33,7 +33,7 @@
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
POS_PID_DEFAULT POS_PID_DEFAULT
- TRQ_PID_DEFAULT TRQ_PID_DEFAULT
+ TRQ_PID_OUTPUT_CURR TRQ_PID_OUTPUT_CURR
2FOC_CUR_CONTROL 2FOC_CUR_CONTROL
2FOC_VEL_CONTROL 2FOC_VEL_CONTROL
@@ -114,12 +114,43 @@
+
+ torque
+ current
+ metric_units
+ machine_units
+ 0 200
+ 0 0
+ 0 0
+ 2500 2500
+ 200 200
+ 0 0
+ 0 0
+ 0 0
+ 1 1
+ -0.0001 0.0002
+ 0 0
+ -50 300
+
0.0049 0.0049
+
+
+ 1 1
+ 0 0
+ 0 0
+ 0 0
+ 0.0001 0.0001
+ 0.01 0.01
+ 10 10
+ 0.001 0.001
+ 0.000099 0.000099
+
+
diff --git a/ergoCubSN000/hardware/motorControl/right_arm-eb30-j4_6-mc.xml b/ergoCubSN000/hardware/motorControl/right_arm-eb30-j4_6-mc.xml
index 16dfdb0a36..e7ca2dcc53 100644
--- a/ergoCubSN000/hardware/motorControl/right_arm-eb30-j4_6-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/right_arm-eb30-j4_6-mc.xml
@@ -15,9 +15,9 @@
90 50 30
-90 -60 -30
90 90 90
- 1000 1000 1000
- 1500 1500 1500
- 2000 2000 2000
+ 300 300 300
+ 300 300 300
+ 360 360 360
16000 16000 16000
@@ -47,9 +47,9 @@
current
metric_units
machine_units
- -67 -67 -67
- -11 -11 -11
- -294 -294 -294
+ -50 -50 -50
+ -8 -8 -8
+ -220 -220 -220
500 500 500
200 200 200
0 0 0
diff --git a/ergoCubSN000/hardware/motorControl/right_leg-eb6-j0_3-mc.xml b/ergoCubSN000/hardware/motorControl/right_leg-eb6-j0_3-mc.xml
index d3dc685e7a..73d8678881 100644
--- a/ergoCubSN000/hardware/motorControl/right_leg-eb6-j0_3-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/right_leg-eb6-j0_3-mc.xml
@@ -117,18 +117,18 @@
current
metric_units
machine_units
- 0.0 -0.0 0.0 0.0
+ 100 -150 0.0 350
0 0 0 0
- 0 -0 0 0
+ 10 -25 0 100
2500 2500 2500 2500
200 200 200 200
0 0 0 0
0 0 0 0
0 0 0 0
1 1 1 1
- 0.0 -0.0 0.0 0.0
+ 0.0001 -0.0001 0.0005 0.0003
0 0 0 0
- 50 -50 50 50
+ 40 -50 150 110
diff --git a/ergoCubSN000/hardware/motorControl/right_leg-eb7-j4_5-mc.xml b/ergoCubSN000/hardware/motorControl/right_leg-eb7-j4_5-mc.xml
index 6be2ea8ce5..763263dfd3 100644
--- a/ergoCubSN000/hardware/motorControl/right_leg-eb7-j4_5-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/right_leg-eb7-j4_5-mc.xml
@@ -116,18 +116,18 @@
current
metric_units
machine_units
- 1000 1000
- 0 0
- 500 1000
- 2500 2500
- 200 200
- 0 0
- 0 0
- 0 0
- 1 1
- 0.0009 0.0003
- 0 0
- 128.81 227.739
+ 0 50
+ 0 0
+ 0 0
+ 2500 2500
+ 200 200
+ 0 0
+ 0 0
+ 0 0
+ 1 1
+ 0.0009 0.0003
+ 0 0
+ 128.81 160
diff --git a/ergoCubSN000/hardware/motorControl/torso-eb5-j0_2-mc.xml b/ergoCubSN000/hardware/motorControl/torso-eb5-j0_2-mc.xml
index 9aa976cac6..d9c4e6683f 100644
--- a/ergoCubSN000/hardware/motorControl/torso-eb5-j0_2-mc.xml
+++ b/ergoCubSN000/hardware/motorControl/torso-eb5-j0_2-mc.xml
@@ -16,10 +16,10 @@
23 45 43
-23 -18 -43
120 120 120
- 5000 8000 5000
- 10000 16000 10000
- 15000 20000 15000
- 10000 10000 10000
+ 5000 15000 5000
+ 10000 20000 10000
+ 15000 30000 15000
+ 10000 16000 10000
diff --git a/ergoCubSN000/realsense2.xml b/ergoCubSN000/realsense2.xml
new file mode 100644
index 0000000000..6c7fc82c9f
--- /dev/null
+++ b/ergoCubSN000/realsense2.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/ergoCubSN000/sensors/realsense.xml b/ergoCubSN000/sensors/realsense.xml
index 18fd952ada..2acc0c6b9c 100644
--- a/ergoCubSN000/sensors/realsense.xml
+++ b/ergoCubSN000/sensors/realsense.xml
@@ -1,35 +1,35 @@
-
+
-
-
- (640 480)
- (640 480)
- 30
- true
- RGB
-
-
- (0.2 10.0)
-
-
- 2
-
- false
-
+
+
+ (640 480)
+ (640 480)
+ 30
+ true
+ RGB
+
+
+ (0.2 10.0)
+
+
+ 2
+
+ false
+
-
- 0.03
- /ergocub/depthCamera
-
-
- realsenseD450
-
-
-
-
+
+ 0.03
+ /depthCamera
+
+
+ realsenseD450
+
+
+
+
-
+