-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #228 from robotology/feat/addRos2NWS
icub3: add xml files for running mc and ft ros2 nws
- Loading branch information
Showing
18 changed files
with
240 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE robot PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd"> | ||
|
||
<robot name="iCubGazeboV3" build="1" portprefix="/icubSim" xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
|
||
<devices> | ||
|
||
<!-- motor controllers wrappers --> | ||
<xi:include href="wrappers/motorControl/left_arm-mc_wrapper.xml" /> | ||
<xi:include href="wrappers/motorControl/right_arm-mc_wrapper.xml" /> | ||
<xi:include href="wrappers/motorControl/left_leg-mc_wrapper.xml" /> | ||
<xi:include href="wrappers/motorControl/right_leg-mc_wrapper.xml" /> | ||
<xi:include href="wrappers/motorControl/head-mc_wrapper.xml" /> | ||
<xi:include href="wrappers/motorControl/torso-mc_wrapper.xml" /> | ||
|
||
<xi:include href="wrappers/motorControl/left_arm-mc_remapper.xml" /> | ||
<xi:include href="wrappers/motorControl/right_arm-mc_remapper.xml" /> | ||
<xi:include href="wrappers/motorControl/left_leg-mc_remapper.xml" /> | ||
<xi:include href="wrappers/motorControl/right_leg-mc_remapper.xml" /> | ||
<xi:include href="wrappers/motorControl/head-mc_remapper.xml" /> | ||
<xi:include href="wrappers/motorControl/torso-mc_remapper.xml" /> | ||
<!-- ANALOG SENSORS FT --> | ||
<xi:include href="wrappers/FT/left_foot-FT_remapper.xml" /> | ||
<xi:include href="wrappers/FT/right_foot-FT_remapper.xml" /> | ||
<xi:include href="wrappers/FT/left_foot-FT_wrapper.xml" /> | ||
<xi:include href="wrappers/FT/right_foot-FT_wrapper.xml" /> | ||
<xi:include href="wrappers/FT/left_arm-FT_wrapper.xml" /> | ||
<xi:include href="wrappers/FT/right_arm-FT_wrapper.xml" /> | ||
<xi:include href="wrappers/FT/right_leg_hip-FT_wrapper.xml" /> | ||
<xi:include href="wrappers/FT/left_leg_hip-FT_wrapper.xml" /> | ||
|
||
<!-- INERTIAL SENSOR--> | ||
<xi:include href="wrappers/inertials/head-inertials_wrapper.xml" /> | ||
|
||
<!-- all joints remapper --> | ||
<xi:include href="./wrappers/motorControl/alljoints-mc_remapper.xml"/> | ||
<xi:include href="./wrappers/motorControl/alljoints-mc_nws_ros2.xml"/> | ||
|
||
<!-- ft sensors ROS2 --> | ||
<xi:include href="wrappers/FT/left_foot-FT_nws_ros2.xml" /> | ||
<xi:include href="wrappers/FT/right_foot-FT_nws_ros2.xml" /> | ||
<xi:include href="wrappers/FT/left_leg_hip-FT_nws_ros2.xml" /> | ||
<xi:include href="wrappers/FT/right_leg_hip-FT_nws_ros2.xml" /> | ||
<xi:include href="wrappers/FT/left_arm-FT_nws_ros2.xml" /> --> | ||
<xi:include href="wrappers/FT/right_arm-FT_nws_ros2.xml" /> | ||
</devices> | ||
</robot> |
18 changes: 18 additions & 0 deletions
18
simmechanics/data/icub3/conf/wrappers/FT/left_arm-FT_nws_ros2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd"> | ||
|
||
|
||
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="left_arm-FT_wrapper_ros2" type="wrenchStamped_nws_ros2"> | ||
<param name="topic_name"> /left_arm_ft </param> | ||
<param name="node_name"> icub_left_arm_ft </param> | ||
<param name="period"> 0.1 </param> | ||
|
||
<action phase="startup" level="10" type="attach"> | ||
<paramlist name="networks"> | ||
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-strain.xml file --> | ||
<elem name="FirstStrain"> icub_left_arm_ft </elem> | ||
</paramlist> | ||
</action> | ||
|
||
<action phase="shutdown" level="15" type="detach" /> | ||
</device> |
18 changes: 18 additions & 0 deletions
18
simmechanics/data/icub3/conf/wrappers/FT/left_foot-FT_nws_ros2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd"> | ||
|
||
|
||
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="left_foot-FT_wrapper_ros2" type="wrenchStamped_nws_ros2"> | ||
<param name="topic_name"> /left_foot_ft </param> | ||
<param name="node_name"> icub_left_foot_ft </param> | ||
<param name="period"> 0.1 </param> | ||
|
||
<action phase="startup" level="10" type="attach"> | ||
<paramlist name="networks"> | ||
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-strain.xml file --> | ||
<elem name="FirstStrain"> left_foot-FT_remapper </elem> | ||
</paramlist> | ||
</action> | ||
|
||
<action phase="shutdown" level="15" type="detach" /> | ||
</device> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
simmechanics/data/icub3/conf/wrappers/FT/left_leg_hip-FT_nws_ros2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd"> | ||
|
||
|
||
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="left_leg_hip-FT_wrapper_ros2" type="wrenchStamped_nws_ros2"> | ||
<param name="topic_name"> /left_leg_hip_ft </param> | ||
<param name="node_name"> icub_left_leg_hip_ft </param> | ||
<param name="period"> 0.1 </param> | ||
|
||
<action phase="startup" level="10" type="attach"> | ||
<paramlist name="networks"> | ||
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-strain.xml file --> | ||
<elem name="FirstStrain"> icub_left_leg_ft </elem> | ||
</paramlist> | ||
</action> | ||
|
||
<action phase="shutdown" level="15" type="detach" /> | ||
</device> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
simmechanics/data/icub3/conf/wrappers/FT/right_arm-FT_nws_ros2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd"> | ||
|
||
|
||
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="right_arm-FT_wrapper_ros2" type="wrenchStamped_nws_ros2"> | ||
<param name="topic_name"> /right_arm_ft </param> | ||
<param name="node_name"> icub_right_arm_ft </param> | ||
<param name="period"> 0.1 </param> | ||
|
||
<action phase="startup" level="10" type="attach"> | ||
<paramlist name="networks"> | ||
<!-- The param value must match the device name in the corresponding body_part-ebX-jA_B-strain.xml file --> | ||
<elem name="FirstStrain"> icub_right_arm_ft </elem> | ||
</paramlist> | ||
</action> | ||
|
||
<action phase="shutdown" level="15" type="detach" /> | ||
</device> |
Oops, something went wrong.