From 370f060c71653d1970decb89ca9ccd2b28a22e5a Mon Sep 17 00:00:00 2001 From: Nicola Piga Date: Wed, 27 Sep 2023 17:03:58 +0000 Subject: [PATCH] Support joints publishing on ROS 2 for iCubGazeboV2_5_visuomanip --- CHANGELOG.md | 2 +- .../iCubGazeboV2_5_visuomanip/icub_ros2.xml | 43 +++++++++++++++++++ .../motorControl/alljoints-mc_nws_ros2.xml | 11 +++++ .../motorControl/alljoints-mc_remapper.xml | 15 +++++++ 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/icub_ros2.xml create mode 100644 iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_nws_ros2.xml create mode 100644 iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_remapper.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 89440b7..edec9ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ The format of this document is based on [Keep a Changelog](https://keepachangelo ### Changed * Tune position PID gains for torso for iCub 2.* (https://github.com/robotology/icub-models-generator/pull/241). - +* Enable publishing of robot joints in ROS 2 via `controlBoard_nws_ros2` for `iCubGazeboV2_5_visuomanip` (https://github.com/robotology/icub-models/pull/211). # [2.1.0] - 2023-06-05 diff --git a/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/icub_ros2.xml b/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/icub_ros2.xml new file mode 100644 index 0000000..6c06d0b --- /dev/null +++ b/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/icub_ros2.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_nws_ros2.xml b/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_nws_ros2.xml new file mode 100644 index 0000000..58e54a4 --- /dev/null +++ b/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_nws_ros2.xml @@ -0,0 +1,11 @@ + + + + + icub_cb_node + /joint_states + + alljoints-mc_remapper + + + diff --git a/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_remapper.xml b/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_remapper.xml new file mode 100644 index 0000000..6f9a1df --- /dev/null +++ b/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/wrappers/motorControl/alljoints-mc_remapper.xml @@ -0,0 +1,15 @@ + + + + + (neck_pitch neck_roll neck_yaw l_shoulder_pitch l_shoulder_roll l_shoulder_yaw l_elbow l_wrist_prosup l_wrist_pitch l_wrist_yaw r_shoulder_pitch r_shoulder_roll r_shoulder_yaw r_elbow r_wrist_prosup r_wrist_pitch r_wrist_yaw torso_yaw torso_roll torso_pitch) + + + head_hardware_device + left_arm_hardware_device + right_arm_hardware_device + torso_hardware_device + + + +