forked from robotology/robots-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable waist_imu on ergoCubSN000 (robotology#499)
- Loading branch information
1 parent
3de7315
commit fa088c7
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
ergoCubSN000/wrappers/inertials/waist-inertials_wrapper.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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> | ||
<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"> | ||
<!-- The name of the element can be any string (we use SetOfIMUs to better express its nature). | ||
Its value must match the device name in the corresponding body_part-jx_y-inertials.xml file | ||
or in body_part-ebX-inertials.xml --> | ||
<elem name="SetOfIMUs"> waist-inertial </elem> | ||
</paramlist> | ||
</action> | ||
|
||
<action phase="shutdown" level="5" type="detach" /> | ||
</device> |