Skip to content

Commit 30cfb83

Browse files
authored
Updated configuration files relative to BCB battery. (#245)
1 parent 3c71e09 commit 30cfb83

File tree

3 files changed

+14
-35
lines changed

3 files changed

+14
-35
lines changed

experimentalSetups/battery/hardware/battery/icubbattery.xml

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,15 @@
44
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="icub_battery" type="bcbBattery">
55

66
<group name="GENERAL">
7-
<param name="name"> icub_battery </param>
8-
<param name="diagnostic"> 1 </param>
9-
<param name="thread_period"> 10 </param>
10-
<param name="logToFile"> 0 </param>
11-
<param name="screen"> 0 </param>
12-
<param name="shutdown"> 0 </param>
7+
<param name="thread_period"> 100 </param>
8+
<param name="screen"> 1 </param>
9+
<param name="verbose"> 1 </param>
10+
<param name="silence_sync_warnings"> 1 </param>
1311
</group>
1412

1513
<group name="SERIAL_PORT">
16-
<param name="verbose"> 0 </param>
17-
<param name="comport"> COM5 </param> <!-- //windows -->
18-
<!-- <param name="comport"> /dev/ttyUSB0 </param> --> <!-- //linux -->
14+
<param name="verbose"> 1 </param>
15+
<param name="comport"> /dev/rfcomm0 </param>
1916
<param name="baudrate"> 115200 </param>
2017
<param name="xonlim"> 0 </param>
2118
<param name="xofflim"> 0 </param>
@@ -38,26 +35,4 @@
3835
</group>
3936

4037
</device>
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
63-
38+

experimentalSetups/battery/icub_battery.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<robot name="icub" xmlns:xi="http://www.w3.org/2001/XInclude">
2+
<!DOCTYPE robot PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
<robot name="battery" build="1" portprefix="battery" xmlns:xi="http://www.w3.org/2001/XInclude">
35
<devices>
46
<!-- battery -->
57
<xi:include href="./wrappers/battery/battery.xml" />

experimentalSetups/battery/wrappers/battery/battery.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="icubBattery" type="batteryWrapper">
44

5-
<param name="period"> 10 </param>
6-
<param name="name"> /icub/battery </param>
5+
<param name="period"> 0.1 </param>
6+
<param name="name"> /icub/battery </param>
7+
<param name="enable_log"> 0 </param>
8+
<param name="enable_shutdown"> 0 </param>
79

810
<action phase="startup" level="5" type="attach">
911
<paramlist name="networks">

0 commit comments

Comments
 (0)