This is my first message here, but I’ve already read a lot - there are many helpful things here
Currently I’m coding an (whiteboard-like) application for my School (as part of a A-Level work, “Maturarbeit” in Switzerland), and today I’ve tried to integrate tbeta: I’m using the code from http://mtg.upf.edu/reactable/?software -> TUIO_CPP to process the tuio-packets.
There’s a demo program called tuioDump, wich simply prints the packets to the command line. This works fine with the tuio-simulator from the same site, but when I launch tbeta and send tuio-packets, it gives me the following error:
error while parsing message: /tuio/2Dcur: too many arguments
Has anybody of you worked with this code? Or is there somebody who has experience with tuio/tbeta?
It the first time I post a comment in this list , but I read many posts and have learned many many things from you all , thanks a lot for that.
Thank you very very much also for the tBeta and the Reactivison/Tuio development teams : you are my heros !!
It would be very cool now if someone can introduce that Tbeta extra parameters handling in the Max/MSP and QuartzComposer Tuioclients .
By my side, I go to have an eye into the Max manual and try to introduce that new TuioClient.cpp file into the xproject folder to compile and updated the client for Max .... but any advice/help will be appreciated as I am a newbie in this side of the Max stage.
I think it can also be easy for he QC plugin ...
Just now I got this message : too many arguments..hehe I have downloaded your zip, I’ll test right now. Thank you!!
BTW: Can I put the osc and TuioClient in different pc? If yes, where to configure IP ?
And...it use UDP to send data, it’s faster than TCP, but in theory, there maybe have mistake in data, how do you think about this?
Unfortunately I don’t know anything about Max, but writing programs in C/C++ with TUIO is easy when you use the TUIO_client.
However I think this thread is the wrong place for your issue, maybe you should open a new thread.
Well, I’ve never tried to send the packets over a network, but I don’t see why I shouldn’t work… (of course you have to configure your firewall etc.)
Imho is TCP aproximately as fast as UDP, at least over LAN.
I’ve never had any other problems with Tuio_client and simulator besides the “too many arguments"-error. Your Versions seems to be a beta-version, maybe it’s because of this… If you want, I can send you my versions.
I don’t really know where the problem is. Maybe it is just one line, but it can be a “general” Problem. If you know how the STL works, I think this is the better solution, because you can help the reactable-team and others who want to compile this code with MSVS
- The other way is that you simply install MinGW… (Or even better: You install Linux )
I’ve been debugging a little bit and I’ve discovered the program crashes on line 190 in TuioClient.cpp
you should use the latest CVS code for the TUIO clients, I think I eleminated this bug some while ago.
I am planning to do a new pre-release which eventually should become the final 1.4 release soon.
Mmh, well I hoped I had fixed that problem already.
Please let me know where your code crashes now.
I really wanted to get the release out soon, so that bug doesn’t help of course.
many thanks for the heads up!