Skip to content

Commit

Permalink
Update ergoxub_gz_sim.xml to disable hands devices
Browse files Browse the repository at this point in the history
  • Loading branch information
xela-95 committed Mar 28, 2024
1 parent ba6d095 commit f015ab7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
4 changes: 2 additions & 2 deletions urdf/ergoCub/conf/ergocub_gz_sim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<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_arm-mc_remapper_gz_sim.xml" />
<xi:include href="wrappers/motorControl/right_arm-mc_remapper_gz_sim.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" />
Expand Down
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-mc_remapper"
type="controlboardremapper">
<paramlist name="networks">
<elem name="left_arm_joints1">( 0 6 0 6 )</elem>
<!-- <elem name="left_arm_joints2">( 7 12 0 5 )</elem> -->
</paramlist>
<param name="joints"> 7 </param>
<action phase="startup" level="5" type="attach">
<paramlist name="networks">
<elem name="left_arm_joints1"> left_arm_hardware_device </elem>
<!-- <elem name="left_arm_joints2"> left_hand_hardware_device </elem> -->
</paramlist>
</action>
<action phase="shutdown" level="20" type="detach" />
</device>
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-mc_remapper"
type="controlboardremapper">
<paramlist name="networks">
<elem name="right_arm_joints1">( 0 6 0 6 )</elem>
<!-- <elem name="right_arm_joints2">( 7 12 0 5 )</elem> -->
</paramlist>
<param name="joints"> 7 </param>
<action phase="startup" level="5" type="attach">
<paramlist name="networks">
<elem name="right_arm_joints1"> right_arm_hardware_device </elem>
<!-- <elem name="right_arm_joints2"> right_hand_hardware_device </elem> -->
</paramlist>
</action>
<action phase="shutdown" level="20" type="detach" />
</device>

0 comments on commit f015ab7

Please sign in to comment.