Sunday, April 26, 2009

TUIO output from Tbeta

this is more for my own reference than anything, but here is some TUIO output from tbeta.

interestingly enough, when i tried the new version from source (graciously provided by cerupcat over at NUI), tseq was incrementing regardless of set and alive, while here it's stuck at 0 no matter what... making me wonder how important that message is for the protocol, especially considering MMF has been working fine thus far. i thought about posting this last night, but hesitated.. i suppose now i'll update with the output from my laptop with tseq increasing when i get home...


binding to port 3333
/tuio/2Dcur alive
/tuio/2Dcur fseq 0
/tuio/2Dcur set 7 0.77944 0.158674 0. 0. 0. -0.085531 -0.021343
/tuio/2Dcur set 8 0.475432 0.70227 0. 0. 0. -0.03334 -0.037312
/tuio/2Dcur set 9 0.444521 0.990623 0. 0. 0. -0.029568 -0.024974
/tuio/2Dcur set 12 0.703296 0.162337 0. 0. 0. -0.009897 -0.008351
/tuio/2Dcur set 14 0.842647 0.155566 0. 0. 0. -0.009897 -0.008351
/tuio/2Dcur alive 7 8 9 12 14
/tuio/2Dcur fseq 0
/tuio/2Dcur set 7 0.782767 0.162893 0. 0. 0. -0.085738 -0.025441
/tuio/2Dcur set 8 0.475432 0.70227 0. 0. 0. -0.033139 -0.033217
/tuio/2Dcur set 9 0.444521 0.990623 0. 0. 0. -0.029568 -0.024974
/tuio/2Dcur set 10 0.388484 0.996394 0. 0. 0. -0.03232 -0.016834
/tuio/2Dcur set 12 0.697136 0.1665 0. 0. 0. -0.013265 -0.0125
/tuio/2Dcur set 13 0.260356 0.998814 0. 0. 0. -0.013472 -0.016598
/tuio/2Dcur alive 7 8 9 10 12 13
/tuio/2Dcur fseq 0


edit -- decided to chop this WAY down, since i really only need a few lines for reference..

in examining this more, i've noticed some interesting traits of tbeta (the posted binary anyways).

the 2Dcur set message in the TUIO protocol only takes six arguments, not 8, which is perplexing, though i vaguely remember hearing that the extra two numbers describe a blob's area.

also, the three 0. arguments, according to the protocol, should be change in x since last frame, change in y since last frame, and acceleration based on the previous two values. apparently tbeta isn't (wasn't?) calculating these values.

No comments:

Post a Comment

Followers