Skip to content

Commit

Permalink
Automatic build. GitHub Actions build: 8282092759
Browse files Browse the repository at this point in the history
icub-model-generator commit: robotology/icub-models-generator@2902bbc
urdf_parser_py commit: ros/urdf_parser_py@31474b9
simmechanics-to-urdf commit: robotology/simmechanics-to-urdf@22caa23
  • Loading branch information
martinaxgloria authored Mar 14, 2024
1 parent e9d33b6 commit 72f425e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iCub/conf/icub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<xi:include href="wrappers/inertials/head-inertials_wrapper.xml" />
<xi:include href="wrappers/inertials/left_arm-inertials_wrapper.xml" />
<xi:include href="wrappers/inertials/right_arm-inertials_wrapper.xml" />
<xi:include href="wrappers/inertials/alljoints-inertials_remapper.xml" />
<xi:include href="wrappers/inertials/alljoints-inertials_wrapper.xml" />
<!-- NOT USED RIGHT NOW
<xi:include href="wrappers/inertials/waist-inertials_wrapper.xml" /> -->
</devices>
Expand Down
17 changes: 17 additions & 0 deletions iCub/conf/wrappers/inertials/alljoints-inertials_remapper.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?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="alljoints-inertials_remapper" type="multipleanalogsensorsremapper">
<param name="OrientationSensorsNames">
(l_arm_ft r_arm_ft head_imu_0)
</param>
<action phase="startup" level="5" type="attach">
<paramlist name="networks">
<elem name="head_imu"> head_inertial_hardware_device </elem>
<elem name="left_arm_imu"> left_arm_inertial_hardware_device </elem>
<elem name="right_arm_imu"> right_arm_inertial_hardware_device </elem>
</paramlist>
</action>

<action phase="shutdown" level="20" type="detach" />
</device>
15 changes: 15 additions & 0 deletions iCub/conf/wrappers/inertials/alljoints-inertials_wrapper.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?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="alljoints-inertials_wrapper" type="multipleanalogsensorsserver">
<param name="period"> 10 </param>
<param name="name"> ${portprefix}/alljoints/inertials </param>

<action phase="startup" level="10" type="attach">
<paramlist name="networks">
<elem name="FirstStrain"> alljoints-inertials_remapper </elem>
</paramlist>
</action>

<action phase="shutdown" level="15" type="detach" />
</device>

0 comments on commit 72f425e

Please sign in to comment.