I am currently working on code documentation and a short tutorial for the Google Summer of Code students so they can ramp up quickly. I will likely be done by the end of this week. It is difficult to stay on top of commenting other people’s code while you’re trying to fix it too! Most people are focusing on developing applications using Flash or AIR instead of tweaking OSC or touchlib. I am working on both touchlib and a better configapp. If you aren’t familiar with C++ you might want to start with the Flash or AIR application programming.
It’s great to hear you’re working on some improvements. I agree, they’re definitely needed. I think people are more caught up in making applications in general right now. I’ve been wanting to fix some things, but haven’t had the chance to learn enough cpp yet to make it worthwhile. I can’t wait to test out your improvements and read over the documentation. Sounds great!
I am currently commenting CTouchScreen.cpp which I think would be the most helpful for beginners to really grok. I don’t have permission to include the comments in the latest code, but I will be posting it here and on my website for viewing or downloading. It is long, boring, tedious work to comment someone else’s code. I haven’t contributed any code yet, so I’m bound to misinterpret code or explain something wrong, but I hope I do well enough for the masses.
I figure this would be the tread to ask this question. I’ve been looking at the source code to figure this out without much success.
How does touchlib figure out if the blob from the last frame is the same as the blob from this frame? I think it happens here but its all a bit confusing.
// now figure out the 'error' for all the blobs in the current frame
I am trying to comment the source so that it’s compatible with Doxygen formats. Doxygen provides meaningful graphs on class inheritance and dependencies pretty much automatically once the code is properly commented. That is a *huge* task that I am working on a little bit each day. Next few weeks and I should have everything up on a website for everyone’s browsing pleasure.
I am trying to comment the source so that it’s compatible with Doxygen formats. Doxygen provides meaningful graphs on class inheritance and dependencies pretty much automatically once the code is properly commented. That is a *huge* task that I am working on a little bit each day. Next few weeks and I should have everything up on a website for everyone’s browsing pleasure.
great! can’t wait to see… anyway will u be explaining the algorithm for the detection and tracking?
Okay, I had time today to run the touchlib rev.395 through Doxygen and post it to my site. It’s not perfect or pretty, but we’ll fix that. Remember that it’s nothing at all like a tutorial but definitely a good read for a newbie to poke around in. Just click on the touchlib button on my home page http://easterisland-llc.com