From 1a0f6fc426eea351d8a4ade33ae36220b1c7e284 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Tue, 14 Jan 2025 11:49:47 +0100 Subject: [PATCH] Fixed all_joints for ros2 --- R1SN003/R1.xml | 17 ++++++------ .../motorControl/cer_alljoints_remapper.xml | 26 +++++++++---------- .../left_arm_no_hand-mc_remapper.xml | 15 +++++++++++ .../right_arm_no_hand-mc_remapper.xml | 15 +++++++++++ R1SN003/yarprobotinterface.ini | 2 +- 5 files changed, 53 insertions(+), 22 deletions(-) create mode 100644 R1SN003/wrappers/motorControl/left_arm_no_hand-mc_remapper.xml create mode 100644 R1SN003/wrappers/motorControl/right_arm_no_hand-mc_remapper.xml diff --git a/R1SN003/R1.xml b/R1SN003/R1.xml index fe4e3976a1..cb46437141 100644 --- a/R1SN003/R1.xml +++ b/R1SN003/R1.xml @@ -47,7 +47,8 @@ - + + @@ -57,7 +58,8 @@ - + + @@ -107,14 +109,13 @@ --> - + + - - - + + + diff --git a/R1SN003/wrappers/motorControl/cer_alljoints_remapper.xml b/R1SN003/wrappers/motorControl/cer_alljoints_remapper.xml index 0be244a55d..d7e752b4c0 100644 --- a/R1SN003/wrappers/motorControl/cer_alljoints_remapper.xml +++ b/R1SN003/wrappers/motorControl/cer_alljoints_remapper.xml @@ -2,26 +2,26 @@ - ( 0 1 0 1 ) - ( 2 4 0 2 ) - ( 5 5 3 3 ) - ( 6 13 0 7 ) - ( 14 21 0 7 ) - ( 22 23 0 1 ) - ( 24 25 0 1 ) - ( 26 27 0 1 ) + ( 0 1 0 1 ) + ( 2 3 0 1 ) + ( 4 6 0 2 ) + ( 7 7 3 3 ) + ( 8 14 0 6 ) + ( 15 21 0 6 ) + + - 28 + 22 cer_head_mc cer_torso_equivalent_mc cer_torso_mc cer_mobile_base_mc - cer_right_arm_no_hand_mc_remapper - cer_right_hand_mc - cer_left_arm_no_hand_mc_remapper - cer_left_hand_mc + right_arm_no_hand_mc_remapper + + left_arm_no_hand_mc_remapper + diff --git a/R1SN003/wrappers/motorControl/left_arm_no_hand-mc_remapper.xml b/R1SN003/wrappers/motorControl/left_arm_no_hand-mc_remapper.xml new file mode 100644 index 0000000000..9a8d0f106d --- /dev/null +++ b/R1SN003/wrappers/motorControl/left_arm_no_hand-mc_remapper.xml @@ -0,0 +1,15 @@ + + + + + (l_shoulder_pitch,l_shoulder_roll,l_shoulder_yaw,l_elbow,l_wrist_yaw,l_wrist_roll,l_wrist_pitch) + 7 + + + left_arm-eb2-j0_1-mc + left_arm-eb4-j2_3-mc + left_arm-eb31-j4_6-mc + + + + diff --git a/R1SN003/wrappers/motorControl/right_arm_no_hand-mc_remapper.xml b/R1SN003/wrappers/motorControl/right_arm_no_hand-mc_remapper.xml new file mode 100644 index 0000000000..e17b38113c --- /dev/null +++ b/R1SN003/wrappers/motorControl/right_arm_no_hand-mc_remapper.xml @@ -0,0 +1,15 @@ + + + + + (r_shoulder_pitch,r_shoulder_roll,r_shoulder_yaw,r_elbow,r_wrist_yaw,r_wrist_roll,r_wrist_pitch) + 7 + + + right_arm-eb5-j0_1-mc + right_arm-eb7-j2_3-mc + right_arm-eb30-j4_6-mc + + + + diff --git a/R1SN003/yarprobotinterface.ini b/R1SN003/yarprobotinterface.ini index 0357739314..7a426778e3 100644 --- a/R1SN003/yarprobotinterface.ini +++ b/R1SN003/yarprobotinterface.ini @@ -1,3 +1,3 @@ config ./R1.xml enable_tags (enable_ros2) -disable_tags () +disable_tags (disable_battery)