TUIO Framework
July 24, 2008
I have been swimming in the deep, dark waters that are TUIO events for the past 3 days, familiarizing myself with Bridger’s new Cocoa TUIO.framework and the old OSC TUIO event protocols used in WSOSC. When I wasn’t taking notes on the TUIO code, I would jump into the equally deep and dark waters of Objective-C 2. The TUIO framework is written in the upgraded language and it is the first time I have had to work with it.
Either of these tasks on their own would have been simple enough, but having to work in a (semi-)new language on a new framework has given my confidence a bit of a shake, and I have been triple checking everything I do.
As of yet, the TUIO.framework only listens for TUIO events. I am writing an addition to the TuioClient class to allow the sending and creation of TUIO events. Users will be able to write applications that simulate multitouch inputs, similar to what I believe the goal of Ashish Kumar Rai’s project will do. My code is currently largely pseudocode as I get more knowledgeable, but I hope to have the code completed sometime tonight. In a worst case scenario, expect the code Friday night.
Little Problems
July 12, 2008
I’m still lost as to why I can’t get a working independent build of OpenTouch. It crashes after the user selects OK or Cancel from the settings window. I feel that I am missing some setting that copies the shared source files instead of looking for them when running. On the other hand, I am having the same issue as when the project directory was in the Examples directory. The preview works, but when it gets to showing the demo, it crashes. It runs perfectly fine from within xcode, but when the package is run from the build/Release or Applications directory, it shows the problems from above.
Any ideas?
As for the memory leak, I am having an issue with overheating when running the app from within xcode. The CPU temp climbs to over 140 degrees Celcius before my computer powers down automatically. I assume this is due to the memory leak, but it is slowing down my efforts to locate it. I have tried jacking up my fan speed with smcFanControl but it only helps so little.
Going to sleep now so I can work tomorrow with a fresh pair of eyes.
Getting Blob Detection to Work
July 9, 2008
I have replaced Bridger’s code on the Opentouch repository. An issue with his computer did not allow him to commit his new code, and it had to be deleted and added to the repo.
The next step in Cocoa Opentouch is to implement blob detection. There have been issues getting the pixel data for a CIImage to work with the Opentouch blob detection algorithm. This solution did not work, and I am looking into the method posted here.