That is an interesting point.. I'm not sure what the best way to handle the get_tilt update is? does anyone else have thoughts?<div><br></div><div>I have confirmed that the 8th byte is the angle..where positive angles are just the value/2 and negative angles are (255-value)/2 and of course the 9th byte is the moving (0x04), stopped, (0x00), and limit (0x01) as previously stated<br>
<div><br></div><div>-Melonee<br><div class="gmail_quote">2010/11/17 Stéphane Magnenat <span dir="ltr"><<a href="mailto:stephane.magnenat@mavt.ethz.ch">stephane.magnenat@mavt.ethz.ch</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 17/11/10 10:49, Melonee Wise wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes it's a branch but anyone is welcome to take my changes. I haven't<br>
 added the accelerometer to the driver but I can add it (is there any<br>
 preference on units), I am also trying to find if the current tilt<br>
position is published by the kinect so I can add a get method.<br>
</blockquote>
<br></div>
I have forked your rep and added the accelerometers, see [1]. As Matthieu suggested, we might want to use this call to update the tilt position and store it in freenect_device. But the problem is that it will be updated only when the get_accelerometer is called. Do we want to add a thread doing this in background and updating cached values inside freenect_device?<br>

<br>
Kind regards,<br>
<br>
Stéphane<br>
<br>
[1] <a href="https://github.com/stephanemagnenat/libfreenect" target="_blank">https://github.com/stephanemagnenat/libfreenect</a><br><font color="#888888">
<br>
-- <br></font><div><div></div><div class="h5">
Dr Stéphane Magnenat<br>
<a href="http://stephane.magnenat.net" target="_blank">http://stephane.magnenat.net</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Senior Engineer<br>Intern Program Director<br>Willow Garage<br>68 Willow Rd.<br>Menlo Park, Ca 94025<br>
</div></div>