From 8d6e1e5dd0fa630e418c2c0321a14695b2ff346c Mon Sep 17 00:00:00 2001 From: Nicogene Date: Thu, 2 Feb 2023 12:17:10 +0100 Subject: [PATCH] ergoCubSN000: add xml files for running ROS2 nws --- ergoCubSN000/ergocub_all_ros2.xml | 108 ++++++++++++++++++ .../wrappers/FT/left_arm-FT_nws_ros2.xml | 19 +++ .../wrappers/FT/left_foot-FT_nws_ros2.xml | 19 +++ .../wrappers/FT/right_arm-FT_nws_ros2.xml | 19 +++ .../wrappers/FT/right_foot-FT_nws_ros2.xml | 19 +++ .../motorControl/alljoints-mc_nws_ros2.xml | 11 ++ .../motorControl/alljoints-mc_remapper.xml | 38 +++--- 7 files changed, 211 insertions(+), 22 deletions(-) create mode 100644 ergoCubSN000/ergocub_all_ros2.xml create mode 100644 ergoCubSN000/wrappers/FT/left_arm-FT_nws_ros2.xml create mode 100644 ergoCubSN000/wrappers/FT/left_foot-FT_nws_ros2.xml create mode 100644 ergoCubSN000/wrappers/FT/right_arm-FT_nws_ros2.xml create mode 100644 ergoCubSN000/wrappers/FT/right_foot-FT_nws_ros2.xml create mode 100644 ergoCubSN000/wrappers/motorControl/alljoints-mc_nws_ros2.xml diff --git a/ergoCubSN000/ergocub_all_ros2.xml b/ergoCubSN000/ergocub_all_ros2.xml new file mode 100644 index 0000000000..6409718aa2 --- /dev/null +++ b/ergoCubSN000/ergocub_all_ros2.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ergoCubSN000/wrappers/FT/left_arm-FT_nws_ros2.xml b/ergoCubSN000/wrappers/FT/left_arm-FT_nws_ros2.xml new file mode 100644 index 0000000000..3d64ce4c1b --- /dev/null +++ b/ergoCubSN000/wrappers/FT/left_arm-FT_nws_ros2.xml @@ -0,0 +1,19 @@ + + + + + + /left_arm_ft + ergocub_left_arm_ft + 0.01 + + + + + left_arm-eb2-j0_1-strain + + + + + + diff --git a/ergoCubSN000/wrappers/FT/left_foot-FT_nws_ros2.xml b/ergoCubSN000/wrappers/FT/left_foot-FT_nws_ros2.xml new file mode 100644 index 0000000000..2509e3783c --- /dev/null +++ b/ergoCubSN000/wrappers/FT/left_foot-FT_nws_ros2.xml @@ -0,0 +1,19 @@ + + + + + + /left_foot_heel_tiptoe_ft + ergocub_left_foot_heel_tiptoe_ft + 0.01 + + + + + left_leg-eb9-j4_5-strain + + + + + + diff --git a/ergoCubSN000/wrappers/FT/right_arm-FT_nws_ros2.xml b/ergoCubSN000/wrappers/FT/right_arm-FT_nws_ros2.xml new file mode 100644 index 0000000000..ddb3049c83 --- /dev/null +++ b/ergoCubSN000/wrappers/FT/right_arm-FT_nws_ros2.xml @@ -0,0 +1,19 @@ + + + + + + /right_arm_ft + ergocub_right_arm_ft + 0.01 + + + + + right_arm-eb1-j0_1-strain + + + + + + diff --git a/ergoCubSN000/wrappers/FT/right_foot-FT_nws_ros2.xml b/ergoCubSN000/wrappers/FT/right_foot-FT_nws_ros2.xml new file mode 100644 index 0000000000..0e8a365892 --- /dev/null +++ b/ergoCubSN000/wrappers/FT/right_foot-FT_nws_ros2.xml @@ -0,0 +1,19 @@ + + + + + + /right_foot_heel_tiptoe_ft + ergocub_right_foot_heel_tiptoe_ft + 0.01 + + + + + right_leg-eb7-j4_5-strain + + + + + + diff --git a/ergoCubSN000/wrappers/motorControl/alljoints-mc_nws_ros2.xml b/ergoCubSN000/wrappers/motorControl/alljoints-mc_nws_ros2.xml new file mode 100644 index 0000000000..52ac8b756e --- /dev/null +++ b/ergoCubSN000/wrappers/motorControl/alljoints-mc_nws_ros2.xml @@ -0,0 +1,11 @@ + + + + + ergocub_cb_node + /joint_states + + alljoints-mc_remapper + + + \ No newline at end of file diff --git a/ergoCubSN000/wrappers/motorControl/alljoints-mc_remapper.xml b/ergoCubSN000/wrappers/motorControl/alljoints-mc_remapper.xml index 5873b4fabc..c415f10d8e 100644 --- a/ergoCubSN000/wrappers/motorControl/alljoints-mc_remapper.xml +++ b/ergoCubSN000/wrappers/motorControl/alljoints-mc_remapper.xml @@ -3,29 +3,23 @@ - ( 0 5 0 5 ) - ( 0 1 0 1 ) - ( 6 12 0 6 ) - ( 13 21 0 8 ) - ( 22 28 0 6 ) - ( 29 37 0 8 ) - ( 38 40 0 2 ) - ( 41 46 0 5 ) - ( 47 52 0 5 ) + ( 0 3 0 3 ) + ( 4 16 0 12 ) + ( 18 30 0 12 ) + ( 31 33 0 2 ) + ( 34 39 0 5 ) + ( 40 45 0 5 ) - 53 - + 46 + - head_mc - face_mc - left_arm_mc - left_hand_mc - right_arm_mc - right_hand_mc - torso_mc - left_leg_mc - right_leg_mc + head-mc_remapper + left_arm-mc_remapper + right_arm-mc_remapper + torso-mc_remapper + left_leg-mc_remapper + right_leg-mc_remapper - - + + \ No newline at end of file