Skip to content

Commit 0a49d10

Browse files
[ergoCubSN001] Add a head-mc network wrapper a lower streaming frequency (#616)
1 parent adda7c1 commit 0a49d10

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

ergoCubSN001/ergocub_wbd.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040

4141
<xi:include href="wrappers/motorControl/head-mc_wrapper.xml" />
4242
<xi:include href="wrappers/motorControl/head-mc_remapper.xml" />
43+
<xi:include href="wrappers/motorControl/head-mc-slow_wrapper.xml" />
4344

4445
<!-- HEAD -->
4546
<xi:include href="hardware/motorControl/head-eb20-j0_1-mc.xml" />
@@ -118,14 +119,14 @@
118119
<xi:include href="wrappers/inertials/right_leg-imu_wrapper.xml" />
119120
<xi:include href="wrappers/inertials/left_foot-imu_wrapper.xml" />
120121
<xi:include href="wrappers/inertials/right_foot-imu_wrapper.xml" />
121-
122+
122123
<!-- BATTERY BAT -->
123-
<xi:include href="wrappers/battery/battery_bat.xml" />
124-
<xi:include href="hardware/battery/battery_bat.xml" />
125-
124+
<xi:include href="wrappers/battery/battery_bat.xml" />
125+
<xi:include href="hardware/battery/battery_bat.xml" />
126+
126127
<!-- BATTERY BMS -->
127-
<xi:include href="wrappers/battery/battery_bms.xml" />
128-
<xi:include href="hardware/battery/battery_bms.xml" />
128+
<xi:include href="wrappers/battery/battery_bms.xml" />
129+
<xi:include href="hardware/battery/battery_bms.xml" />
129130

130131
<!-- CALIBRATORS -->
131132
<xi:include href="calibrators/torso-calib.xml" />
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE devices PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="head-mc-slow_nws_yarp" type="controlBoard_nws_yarp">
5+
<param name="period"> 0.02 </param>
6+
<param name="name"> /ergocub/head_slow </param>
7+
<action phase="startup" level="10" type="attach">
8+
<param name="device"> head-mc_remapper </param>
9+
</action>
10+
<action phase="shutdown" level="15" type="detach" />
11+
</device>

0 commit comments

Comments
 (0)