Skip to content

Commit

Permalink
Fix waist_imu conf files (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaxgloria committed Aug 30, 2023
1 parent 100b381 commit c252262
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions ergoCubSN000/ergocub_all.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<xi:include href="wrappers/inertials/head-imuFilter.xml" />
<xi:include href="wrappers/inertials/head-inertials_wrapper.xml" />
<xi:include href="hardware/inertials/head-inertial.xml" />
<xi:include href="hardware/inertials/waist-inertial.xml" />
<xi:include href="wrappers/inertials/waist-inertials_wrapper.xml" />

<!-- IMU - MTB4 BOARDS -->
Expand Down
1 change: 1 addition & 0 deletions ergoCubSN000/ergocub_all_ros2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<xi:include href="wrappers/inertials/head-imuFilter.xml" />
<xi:include href="wrappers/inertials/head-inertials_wrapper.xml" />
<xi:include href="hardware/inertials/head-inertial.xml" />
<xi:include href="hardware/inertials/waist-inertial.xml" />
<xi:include href="wrappers/inertials/waist-inertials_wrapper.xml" />


Expand Down
1 change: 1 addition & 0 deletions ergoCubSN000/ergocub_wbd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
<xi:include href="wrappers/inertials/head-imuFilter.xml" />
<xi:include href="wrappers/inertials/head-inertials_wrapper.xml" />
<xi:include href="hardware/inertials/head-inertial.xml" />
<xi:include href="hardware/inertials/waist-inertial.xml" />
<xi:include href="wrappers/inertials/waist-inertials_wrapper.xml" />

<!-- FT SENSORS - IMU -->
Expand Down
10 changes: 10 additions & 0 deletions ergoCubSN000/hardware/inertials/waist-inertial.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?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 type="xsensmt" name="waist-inertial">
<param name="serial"> /dev/ttyS0 </param>
<param name="xsensmt_period">0.01</param>
<param name="xsensmt_euler_period">0.005</param>
<param name="xsensmt_gyro_period">0.005</param>
<param name="xsensmt_acc_period">0.005</param>
<param name="xsensmt_mag_period">0.01</param>
</device>
6 changes: 2 additions & 4 deletions ergoCubSN000/wrappers/inertials/waist-inertials_wrapper.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?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="waist-inertial" type="multipleanalogsensorsserver">
<param name="period"> 10 </param>
<device xmlns:xi="http://www.w3.org/2001/XInclude" name="waist-inertials_wrapper" type="multipleanalogsensorsserver">
<param name="period"> 5 </param>
<param name="name"> /ergocub/waist/inertials </param>
<param name="subdevice"> xsensmt </param>
<param name="serial"> /dev/ttyS0 </param>

<action phase="startup" level="5" type="attach">
<paramlist name="networks">
Expand Down

0 comments on commit c252262

Please sign in to comment.