<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=15&amp;t=6784" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2010-11-30T23:08:07+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=6784</id>
<entry>
<author><name><![CDATA[ingeniado]]></name></author>
<updated>2010-11-30T23:08:07+01:00</updated>
<published>2010-11-30T23:08:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29078#p29078</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29078#p29078"/>
<title type="html"><![CDATA[Help using readsoundLevel (RobobuilderLib)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29078#p29078"><![CDATA[
Thanks l3v3rz.<br /><br />I've tested the script following your instructions and I could find that the problem is the bluetooth link, it is responsible for a delay in the communication (at least in with my hardware) that causes a strange behavior. <br /><br />Using the serial RS232 link, yes, I get some results that I could use (with some fine tunning), but using the bluetooth link no value is returned. My motion algorithm doesn't work very well (I suppose It's as a result of the dealy in the link)<br /><br />regards.<br />Miguel.<br /><br />PD: I'm waiting for a welding soldering iron in order to install the triaxial acceleration sensor module, I will post my results with bluetooth and robobuilderlib.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2442">ingeniado</a> — Tue Nov 30, 2010 11:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2010-11-28T13:13:04+01:00</updated>
<published>2010-11-28T13:13:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29027#p29027</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29027#p29027"/>
<title type="html"><![CDATA[Help using readsoundLevel (RobobuilderLib)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29027#p29027"><![CDATA[
Good to hear some one using the library.<br /><br />I'm assuming you're using standard firmware 2.26 or better. <br /><br />If so then the level is the minimum level for it to return a value - so try setting it to 1 - even then it seems to need quite a loud noise to trigger. I think this is because they calculate the level by averaging over a large number of samples over about 500ms - so it needs quite a sustained noise to trigger<br /><br />So for :  public int readsoundLevel(int timeout, int level).<br /><br />try a timeout of 10000 (i.e 10s) and a level of 1.  The actual value read is returned, so you can print that out and see if the level needs adjusting but I doubt you'll see any value more than 10.<br /><br />Incidentally the IR doesn't seem to work at all (this is the firmware not my library), but PF1/2 button input work well and so does reading the PSD and accelerometer.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Sun Nov 28, 2010 1:13 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ingeniado]]></name></author>
<updated>2010-11-28T00:54:51+01:00</updated>
<published>2010-11-28T00:54:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29024#p29024</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29024#p29024"/>
<title type="html"><![CDATA[Help using readsoundLevel (RobobuilderLib)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6784&amp;p=29024#p29024"><![CDATA[
Hello,<br /><br />I'm developing a simple C# script in order to control Robobuilder via Bluetooth and RobobuilderLib (thanks l3v3rz <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=":wink:" title="Wink" /> )<br />Everything goes OK but I'm not able to get the <span style="font-style: italic">readsoundLevel</span> function returning any value.<br />I think my error is the <span style="font-style: italic">level </span>parameter, what value have we got to put?, wich is the range?. I've tested with 1, 10, 1000 but I get everytime 0 as returning value.<br /><br />any example using this function?<br /><br />thanks.<br />Miguel A.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2442">ingeniado</a> — Sun Nov 28, 2010 12:54 am</p><hr />
]]></content>
</entry>
</feed>