<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Some bugs that I done fixed</title>
	<atom:link href="http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/feed/" rel="self" type="application/rss+xml" />
	<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/</link>
	<description>Software should be simple.</description>
	<lastBuildDate>Sun, 18 Dec 2011 05:32:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-126</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 20 Aug 2008 08:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-126</guid>
		<description>Sounds groovy! have a great trip!</description>
		<content:encoded><![CDATA[<p>Sounds groovy! have a great trip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beeduul</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-125</link>
		<dc:creator>beeduul</dc:creator>
		<pubDate>Wed, 20 Aug 2008 07:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-125</guid>
		<description>i&#039;m using the unibrain fire-i (firewire cam).

in the log there are lots of &gt; 0.4 (the threshold for dumping to log), but they don&#039;t come fast and furious before the death knell, they&#039;re rather sporadic.  no sluggishness as harbinger of bail.

next week i&#039;ll add some interval logging to see how erratic the framerate is, and then will try to narrow down where the variability/spiking is coming from.  i&#039;ll also try messing with those thresholding numbers.

i&#039;ll check in with you when i get back from my trip.  thanks much for following up!</description>
		<content:encoded><![CDATA[<p>i&#8217;m using the unibrain fire-i (firewire cam).</p>
<p>in the log there are lots of &gt; 0.4 (the threshold for dumping to log), but they don&#8217;t come fast and furious before the death knell, they&#8217;re rather sporadic.  no sluggishness as harbinger of bail.</p>
<p>next week i&#8217;ll add some interval logging to see how erratic the framerate is, and then will try to narrow down where the variability/spiking is coming from.  i&#8217;ll also try messing with those thresholding numbers.</p>
<p>i&#8217;ll check in with you when i get back from my trip.  thanks much for following up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-124</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 20 Aug 2008 06:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-124</guid>
		<description>huh, yeah you got plenty of horsepower there. and it does only bail if it gets over a second.  you can disable it if you like, it is in the BBINputController.m file, in the - (void)camera:(CSGCamera *)aCamera didReceiveFrame:(CSGImage *)aFrame; method.  right in the middle. you can increase the values there if you like, or comment out that whole block and it will not stop if it drops below a second. tho if you are getting that kind of lag spiking then there is something going on there. 

(very possibly in the BBTouch code)  

the only other thing i can think of is if there is something else on the system that is taking over for more than a second.  I dont know what that would be.. 

is your camera USB or firewire?

So does the blob tracking get sluggish at all before it bails? 

in the console log, are there lots of sub 1.0 second sample times that it throws out before the &#039;killer&#039; one? and are they all right before it in time (ie lots of times when like my time machine kicks on and my camera is at the end of that chain of drives, i will get a slew of bad sample times, each one slightly longer than the last until it bails)

hmm.. i do have a few ideas of where to poke around. i will see what i can find.
we&#039;ll get it figured out :-)</description>
		<content:encoded><![CDATA[<p>huh, yeah you got plenty of horsepower there. and it does only bail if it gets over a second.  you can disable it if you like, it is in the BBINputController.m file, in the &#8211; (void)camera:(CSGCamera *)aCamera didReceiveFrame:(CSGImage *)aFrame; method.  right in the middle. you can increase the values there if you like, or comment out that whole block and it will not stop if it drops below a second. tho if you are getting that kind of lag spiking then there is something going on there. </p>
<p>(very possibly in the BBTouch code)  </p>
<p>the only other thing i can think of is if there is something else on the system that is taking over for more than a second.  I dont know what that would be.. </p>
<p>is your camera USB or firewire?</p>
<p>So does the blob tracking get sluggish at all before it bails? </p>
<p>in the console log, are there lots of sub 1.0 second sample times that it throws out before the &#8216;killer&#8217; one? and are they all right before it in time (ie lots of times when like my time machine kicks on and my camera is at the end of that chain of drives, i will get a slew of bad sample times, each one slightly longer than the last until it bails)</p>
<p>hmm.. i do have a few ideas of where to poke around. i will see what i can find.<br />
we&#8217;ll get it figured out :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beeduul</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-123</link>
		<dc:creator>beeduul</dc:creator>
		<pubDate>Wed, 20 Aug 2008 06:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-123</guid>
		<description>it seems to be bailing whenever the sample time is greater than 1 (second, i presume).  from Console:

8/19/08 11:42:29 PM BBTouch[392] sample time too long throw it out: 1.011681 

i get lots of those messages in the Console log, but it only seems to be disabling on &gt; 1.0.

i&#039;ll have a look at the source next week... going out of town tomorrow through sunday.  excited as i am to visit my friends, i can&#039;t wait to get back to multitouching! :D</description>
		<content:encoded><![CDATA[<p>it seems to be bailing whenever the sample time is greater than 1 (second, i presume).  from Console:</p>
<p>8/19/08 11:42:29 PM BBTouch[392] sample time too long throw it out: 1.011681 </p>
<p>i get lots of those messages in the Console log, but it only seems to be disabling on &gt; 1.0.</p>
<p>i&#8217;ll have a look at the source next week&#8230; going out of town tomorrow through sunday.  excited as i am to visit my friends, i can&#8217;t wait to get back to multitouching! :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beeduul</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-122</link>
		<dc:creator>beeduul</dc:creator>
		<pubDate>Wed, 20 Aug 2008 06:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-122</guid>
		<description>hey ben, thanks for the fast reply!

i&#039;m running on a 2.4GHz core2 quad hackintosh (DIY, woot!), a plenty speedy machine running 10.5.2 (will update once i get nerve to use a vanilla kernel, and not a patched one, so i can use software update). the frame rate runs solid, i&#039;m pretty sure it&#039;s not falling down to the 2.5fps range.  and i don&#039;t seem to be getting any false hits -- the image after processing is good and clean -- the blob view is only showing my fingerpresses, i&#039;m not getting any other noise.  oh, and i&#039;m using light blobs.

whaddyathink?

jeremy</description>
		<content:encoded><![CDATA[<p>hey ben, thanks for the fast reply!</p>
<p>i&#8217;m running on a 2.4GHz core2 quad hackintosh (DIY, woot!), a plenty speedy machine running 10.5.2 (will update once i get nerve to use a vanilla kernel, and not a patched one, so i can use software update). the frame rate runs solid, i&#8217;m pretty sure it&#8217;s not falling down to the 2.5fps range.  and i don&#8217;t seem to be getting any false hits &#8212; the image after processing is good and clean &#8212; the blob view is only showing my fingerpresses, i&#8217;m not getting any other noise.  oh, and i&#8217;m using light blobs.</p>
<p>whaddyathink?</p>
<p>jeremy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-121</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 20 Aug 2008 06:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-121</guid>
		<description>Hey Jeremy, i just had a quick look at the code, the current hardcoded minimum FPS before BBTouch logs an error is 2.5 fps.

whenever you fall past that threshold it starts to throw out frames until it can catch up.

if the problem persists and you fall below 1 fps then it presumes that there is some problem and stops the detection (otherwise the program gets very very very sluggish since the detector is hogging the processor)

There may be some bugs in there somewhere :-)  Also, if you could tell me if you are doing dark blobs or light blobs? what OS are you running etc..

I hope I can get it all running smooth for yah!

cheers!
-b</description>
		<content:encoded><![CDATA[<p>Hey Jeremy, i just had a quick look at the code, the current hardcoded minimum FPS before BBTouch logs an error is 2.5 fps.</p>
<p>whenever you fall past that threshold it starts to throw out frames until it can catch up.</p>
<p>if the problem persists and you fall below 1 fps then it presumes that there is some problem and stops the detection (otherwise the program gets very very very sluggish since the detector is hogging the processor)</p>
<p>There may be some bugs in there somewhere :-)  Also, if you could tell me if you are doing dark blobs or light blobs? what OS are you running etc..</p>
<p>I hope I can get it all running smooth for yah!</p>
<p>cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-120</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 20 Aug 2008 05:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-120</guid>
		<description>Hey Jeremy,

the auto shutoff is to keep the blob algorithm from going off into the weeds if there is something wrong (like the lighting changes dramatically causing it to detect a squillion blobs all of a sudden)  If it is going off all the time there are two possible problems:

One is that you may have your threshold set too low and the blob detector is getting lots of false hits.

the other is that I may have left in a hard coded number that expects a minimum FPS before it thinks something is wrong and you might be falling below that mark. (I will check that out :-)

Just out of curiosity what are you running on? what kind of mac and what kind of camera?

Cheers!
-b</description>
		<content:encoded><![CDATA[<p>Hey Jeremy,</p>
<p>the auto shutoff is to keep the blob algorithm from going off into the weeds if there is something wrong (like the lighting changes dramatically causing it to detect a squillion blobs all of a sudden)  If it is going off all the time there are two possible problems:</p>
<p>One is that you may have your threshold set too low and the blob detector is getting lots of false hits.</p>
<p>the other is that I may have left in a hard coded number that expects a minimum FPS before it thinks something is wrong and you might be falling below that mark. (I will check that out :-)</p>
<p>Just out of curiosity what are you running on? what kind of mac and what kind of camera?</p>
<p>Cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beeduul</title>
		<link>http://benbritten.com/2008/08/20/some-bugs-that-i-done-fixed/comment-page-1/#comment-119</link>
		<dc:creator>beeduul</dc:creator>
		<pubDate>Wed, 20 Aug 2008 05:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=181#comment-119</guid>
		<description>ben, great work!

maybe you can help me with an issue -- the detect blobs functionality keeps turning itself off!  grr... i&#039;ve had this problem with previous versions of bbtouch, too, it&#039;s not just in the latest build.  sometimes it hangs in there a few minutes detecting blobs, other times it disables itself within 10-15 seconds.

also is there a way to flip the camera&#039;s feed horizontally before processing?

thanks so much for sharing your work!
jeremy</description>
		<content:encoded><![CDATA[<p>ben, great work!</p>
<p>maybe you can help me with an issue &#8212; the detect blobs functionality keeps turning itself off!  grr&#8230; i&#8217;ve had this problem with previous versions of bbtouch, too, it&#8217;s not just in the latest build.  sometimes it hangs in there a few minutes detecting blobs, other times it disables itself within 10-15 seconds.</p>
<p>also is there a way to flip the camera&#8217;s feed horizontally before processing?</p>
<p>thanks so much for sharing your work!<br />
jeremy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

