Skip to content

Commit

Permalink
Reinstate slow wrapper for ergocub head (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Apr 21, 2024
1 parent 995badf commit 60debe6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions ergoCubSN001/ergocub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

<xi:include href="wrappers/motorControl/head-mc_wrapper.xml" />
<xi:include href="wrappers/motorControl/head-mc_remapper.xml" />
<xi:include href="wrappers/motorControl/head-mc-slow_wrapper.xml" />

<!-- HEAD -->
<xi:include href="hardware/motorControl/head-eb20-j0_1-mc.xml" />
Expand Down
1 change: 1 addition & 0 deletions ergoCubSN002/ergocub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

<xi:include href="wrappers/motorControl/head-mc_wrapper.xml" />
<xi:include href="wrappers/motorControl/head-mc_remapper.xml" />
<xi:include href="wrappers/motorControl/head-mc-slow_wrapper.xml" />

<!-- HEAD -->
<xi:include href="hardware/motorControl/head-eb20-j0_1-mc.xml" />
Expand Down
11 changes: 11 additions & 0 deletions ergoCubSN002/wrappers/motorControl/head-mc-slow_wrapper.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?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="head-mc-slow_nws_yarp" type="controlBoard_nws_yarp">
<param name="period"> 0.02 </param>
<param name="name"> /ergocub/head_slow </param>
<action phase="startup" level="10" type="attach">
<param name="device"> head-mc_remapper </param>
</action>
<action phase="shutdown" level="15" type="detach" />
</device>

0 comments on commit 60debe6

Please sign in to comment.