<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=Kinect_plug-in</id>
	<title>Kinect plug-in - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=Kinect_plug-in"/>
	<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Kinect_plug-in&amp;action=history"/>
	<updated>2026-04-27T14:58:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Kinect_plug-in&amp;diff=973&amp;oldid=prev</id>
		<title>Jca: New page: ===Introduction===  The Kinect plugin transfers the images from the Kinect sensor to image-pool images, and thus allow data users to utilize the image pool functions - like poolpush - to b...</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Kinect_plug-in&amp;diff=973&amp;oldid=prev"/>
		<updated>2012-01-10T11:24:28Z</updated>

		<summary type="html">&lt;p&gt;New page: ===Introduction===  The Kinect plugin transfers the images from the Kinect sensor to image-pool images, and thus allow data users to utilize the image pool functions - like poolpush - to b...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Introduction===&lt;br /&gt;
&lt;br /&gt;
The Kinect plugin transfers the images from the Kinect sensor to image-pool images, and thus allow data users to utilize the image pool functions - like poolpush - to be updated with new data as they arrive.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
The camera parameters are stored in the camera pool, default as device 18 and 19, and can be set like:&lt;br /&gt;
&lt;br /&gt;
 module load=&amp;quot;aukinect.so.0&amp;quot;&lt;br /&gt;
 module load=aucamrectify.so.0&lt;br /&gt;
 camset device=18 name=kinectcolor&lt;br /&gt;
 camset device=19 name=depth&lt;br /&gt;
 var campool.device18.intrinsic=&amp;quot;525.829, 0.0, 322.205; 0.0, 525.829, 257.529; 0.0, 0.0, 1.0&amp;quot;&lt;br /&gt;
 var campool.device18.distortion=&amp;quot;0.24042, -0.72509, -0.00018, -0.00022, 0.72285&amp;quot;&lt;br /&gt;
 var campool.device19.intrinsic=&amp;quot;595 0 320; 0 595 240; 0 0 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The shown parameters for device 18 (color camera) is based on a calibration on one of our devices, and should be fairly representative.&lt;br /&gt;
The values for the IR sensor is a fairly rough guess - should be improved - when you have better data, please mail it to me ( jca@elektro.dtu.dk ).&lt;br /&gt;
&lt;br /&gt;
The kinect plugin has the following configuration variables of its own:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   kinectNumber=0             (r/w) kinect number to be used on next open&lt;br /&gt;
   updCnt=70                  (r) Number of updates&lt;br /&gt;
   desiredFramerate=2         (rw) desired framerate (frames/sec) for both depth and&lt;br /&gt;
                              color&lt;br /&gt;
   measuredFramerate=2 2      (r) [color, depth] measured framerate (frames/sec)&lt;br /&gt;
   desiredResolution=1        (rw) desired resolution 0=low (QVGA), 1=medium (VGA), 2 =&lt;br /&gt;
                              high)&lt;br /&gt;
   imagesC3D=18 19 20 21      (rw) Image pool for [0] color, [1] depth (16bit), [2]&lt;br /&gt;
                              depth (RGB)image, [3] depth 8-bit BW&lt;br /&gt;
   camDeviceNum=18 19         (r/w) index to camera info - [color, depth]&lt;br /&gt;
   imgIR=0                    (r/w) is IR (dot) image to replace color image [0=color,&lt;br /&gt;
                              1= IR]&lt;br /&gt;
   useColor=1 1               (rw) [0]=1 request color (at next open), [1]=1 is in use&lt;br /&gt;
   useDepth=1 1               (rw) [0]=1 request depth (at next open), [1]=1 is in use&lt;br /&gt;
   useDepth8bit=1             (rw) make 8-bit BW image from depth -1 = no image, 0-8&lt;br /&gt;
                              subtracts 512 and shift 0-8 bits&lt;br /&gt;
   useDepthColor=0            (rw) make RGB pseudo color image from depth 0=do not make&lt;br /&gt;
   open=1 1                   (rw) [0]: set to 0 to close set to 1 to open, [1]:&lt;br /&gt;
                              0:isclosed 1:isopen&lt;br /&gt;
   initialized=1              (r) is the camera initialized&lt;br /&gt;
   tiltDeg=0                  (r/w) the current motor control tilt angle [degrees]&lt;br /&gt;
   tiltUse=0                  (r/w) should tilt control be attempted (0=not used,&lt;br /&gt;
                              1=used)&lt;br /&gt;
   led=2                      (r/w) LED value: OFF 0, GREEN 1, RED 2, YELLOW 3, B-YELLOW&lt;br /&gt;
                              4, B-GREEN 5, B-RED_YELLOW = 6, B-RED_GREEN = 7&lt;br /&gt;
   acc=-0.0359 8.2261 -5.053  (r) the current accelerometer reading in N/kg&lt;br /&gt;
   time=1326194516.8452       (r) Time at last update&lt;br /&gt;
   accInterval=0.7            (r/w) wait getting acc-readings at least this time [sec]&lt;br /&gt;
   accRate=0                  (r) rate of acc measurements (per second)&lt;br /&gt;
   accLogN=0                  (r/w) log acceleration evert N measurements (0 = close&lt;br /&gt;
                              log)&lt;br /&gt;
   imageLogN=0                (r/w) log images (color and depth) every Nth imageset (0 =&lt;br /&gt;
                              close log)&lt;br /&gt;
   replay=0 0                 (r) [0]: replay status 1=on, [1] current replay line&lt;br /&gt;
&lt;br /&gt;
The shown values are with the device open, looking a bit down&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
&lt;br /&gt;
The available kinect commands are found in the on-line help:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;&amp;gt; kinect help&lt;br /&gt;
 &amp;lt;help subject=&amp;quot;kinect&amp;quot;&amp;gt;&lt;br /&gt;
 --- kinect is a plugin to XBOX 360 3d camera&lt;br /&gt;
 open=true|false     Start or stop camera stream to img=19 (depth) and img=18 color&lt;br /&gt;
 silent              do not send a reply to this command&lt;br /&gt;
 debug=true|false    Produce debug image (is true for color-depth img=19)&lt;br /&gt;
 log=true|false      action log (open=false) to /rhome/demo//kinect.log &lt;br /&gt;
 logImage=N          logging of every N (N=0) images to /rhome/demo//kinectImage.log&lt;br /&gt;
 replay=true|false   replay (replay=false) from /rhome/demo//replay/kinectImage.log&lt;br /&gt;
 step = N            replay N steps from replay file&lt;br /&gt;
 logAcc=N            logging of every N (N=0) acc value to /rhome/demo//kinectAcc.log &lt;br /&gt;
 help       This message&lt;br /&gt;
 ----&lt;br /&gt;
 see also: &amp;#039;kinectPush&amp;#039; for event handling of 3d cloud&lt;br /&gt;
 see also: &amp;#039;var kinect&amp;#039; for parameters&lt;br /&gt;
 &amp;lt;/help&amp;gt;&lt;br /&gt;
 &amp;lt;kinect info=&amp;quot;done&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jca</name></author>
	</entry>
</feed>