Skip to content

Commit 40e1e2e

Browse files
committed
Merge branch 'master' into devel
2 parents 1cb3252 + 3f9bfa6 commit 40e1e2e

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

iCubGenova11/camera/realsense.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE robot 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="realsense2dev" type="realsense2">
5+
<group name="SETTINGS">
6+
<param name="depthResolution"> (640 480) </param>
7+
<param name="rgbResolution"> (640 480) </param>
8+
<param name="framerate"> 30 </param>
9+
<param name="enableEmitter"> true</param>
10+
<param name="needAlignment"> true</param>
11+
<param name="alignmentFrame"> RGB</param>
12+
</group>
13+
<group name="HW_DESCRIPTION">
14+
<param name="clipPlanes"> (0.2 10.0)</param>
15+
</group>
16+
<!-- <group name="QUANT_PARAM"> -->
17+
<!-- <param name="depth_quant">2</param> -->
18+
<!-- </group> -->
19+
</device>

iCubGenova11/realsense.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE robot PUBLIC "-//YARP//DTD yarprobotinterface 3.0//EN" "http://www.yarp.it/DTD/yarprobotinterfaceV3.0.dtd">
3+
4+
<robot name="iCubGenova11RealSense" build="2" portprefix="/icub" xmlns:xi="http://www.w3.org/2001/XInclude">
5+
<devices>
6+
<xi:include href="./camera/realsense.xml" />
7+
<xi:include href="./wrappers/camera/realsense-nws_yarp.xml" />
8+
</devices>
9+
</robot>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE robot 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="RGBDWrapperyarp" type="rgbdSensor_nws_yarp">
5+
<param name="period"> 0.033 </param>
6+
<param name="name"> /depthCamera </param>
7+
<action phase="startup" level="5" type="attach">
8+
<paramlist name="networks">
9+
<elem name="subdevicergbd"> realsense2dev </elem>
10+
</paramlist>
11+
</action>
12+
<action phase="shutdown" level="5" type="detach" />
13+
</device>

0 commit comments

Comments
 (0)